Repository navigation
v2.1.0
Wildcards in qsh cp
qsh cp 'host:logs/*.log' . now works: * and ? in a remote path are expanded by the server, in any part of the path (host:*/app.log).
- Needs qshd 2.1 on the server. An older qshd gets the path as it is, as before.
- With
-ra pattern takes files and directories alike. Without it, directories fail and the files are still copied. - Several matches need a directory to go into. No match is an error.
- As in a shell,
*skips names that start with a dot. Use.*for those. - The client checks every name the server answers with against your pattern before it writes anything, so a server cannot hand you a
.bashrcfor*.log.
Windows
What a Unix shell does to a command line, qsh now does itself on Windows:
qsh cp *.txt host:dir/expands*and?in local paths (case is ignored,*.*means everything).- Single quotes around a path are taken off, so
qsh cp 'host:logs/*.log' .works in cmd.exe, PowerShell and on Linux alike. - A leading
~in a local path is your profile folder: incp,-i,-Fandkeygen.
Config templates
- The qshd template now says which lines are defaults and which are examples, notes that a
hardenedbuild starts from stricter values, and lists seven settings it had left out (require_post_quantum,refuse_connection, the-Rsocket and X11 settings). - The client template says what
Compressiondoes when unset: terminal output is compressed, copies are not. - Templates are only written when no config exists, so your files are not changed.
Fixed
qsh cpno longer reports "sending stopped by peer" for an upload that arrived whole. It happened when the server confirmed the file before the client had finished closing the stream.
Tests
New tests for the security review: setuid bits on uploads, the login signature's binding to its connection, empty certificate principals, and arguments that are not UTF-8. The review now names the test behind each row that has one.
Upgrading
2.0 and 2.1 connect to each other. Update qshd to use wildcards in remote paths.