Repository navigation
v1.9.0
Fixes from a review of qshd against OpenSSH, and a quick way to save a connection.
New
- qsh:
--save NAMEafter the host keeps the whole command line as a saved connection:qsh -N -R 2222:127.0.0.1:4422 -p 4422 user@server --save tunnel. It connects as usual, and laterqsh tunnel(or the entry inqsh ui) does the same. The host, user, port, key, forwards and other options are saved in~/.config/qsh/ui-hosts. A name that is already saved needs--force. A remote command,-W,-gand--transportare not saved, and qsh says so.
Now refused: please read before updating
- qshd:
accept_envno longer lets a client setUSER,LOGNAME,HOME,PATH,MAIL,SHELLorQSHD_*, even withaccept_env = ["*"]. sshd also sets these itself. - qshd: with
use_pam = false,/etc/nologinkeeps everyone but root out and its text is shown, as in sshd. - qshd:
-R host.name:portwithgateway_ports = "clientspecified"is refused with a clear error. Before, it quietly listened on loopback. Give an address instead. - qshd: file transfers and speed tests now count against
max_sessions. Speed tests are refused for keys with a forced command.
qshd
- In system mode,
-Rports are opened by a helper running as the user, not as root, soip_unprivileged_port_startand firewall or LSM rules by uid apply, as with sshd. - Windows:
-Ron ports below 1024 works. Before, it was refused for every user.
qsh
- An X11 connection that sends nothing for 10 seconds is closed, so idle connections cannot use up the forwarded display.
- Windows:
qsh --fullsees a closed UDP port at once instead of waiting for the timeout.