Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Increase ssh verbosity in running session

I remember the tilde-question mark mechanism in the openssh client to show available tilde commands.

$ ~?
Supported escape sequences:
 ~.   - terminate connection (and any multiplexed sessions)
 ~B   - send a BREAK to the remote system
 ~C   - open a command line
 ~R   - request rekey
 ~V/v - decrease/increase verbosity (LogLevel)
 ~^Z  - suspend ssh
 ~#   - list forwarded connections
 ~&   - background ssh (when waiting for connections to terminate)
 ~?   - this message
 ~~   - send the escape character by typing it twice
(Note that escapes are only recognized immediately after newline.)

So you can press carriage return, tilde, capital V to decrease verbosity, and CR,~,v to increase verbosity.

Comments