Difference between revisions of "Ssh (OpenSSH client)"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man1/ssh.1.html
Line 31: | Line 31: | ||
== See also == | == See also == | ||
+ | * {{OpenSSH}} | ||
* [[ncat]] | * [[ncat]] | ||
* [[tmux]] | * [[tmux]] |
Revision as of 11:29, 12 December 2019
ssh
[1] is the OpenSSH ssh client for logging or executing commands into remote devices/machines
Usage
ssh REMOTE_USERNAME@REMOTE_SERVER_NAME_OR_IP
ssh -vvv REMOTE_USERNAME@REMOTE_SERVER_NAME_OR_IP
(-v
increase verbosity, maximum 3)ssh -vvv REMOTE_USERNAME@REMOTE_SERVER_NAME_OR_IP 2>&1 | grep "STRING_TO_SEARCH"
Multiplexing options
ssh -O check server.example.org or ssh -O check [email protected] Master running (pid=26289)
ssh -O check [email protected] Control socket connect(/path/): No such file or directory
To stop an specific multiplexed session:
ssh -O stop [email protected]
Avoid using Multiplexing for a connections:
ssh -o "ControlMaster=no" server.example.org
Activities
- Understand differences between stop and exit:
ssh -O exit [email protected]
See also
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF - ncat
- tmux
Advertising: