SSH is a protocol for running commands on a remote computer.
- Dropbear is a lightweight implementation of SSH targeted at embedded devices.
- OpenSSH, developed by the OpenBSD project, is by far the most common implementation of SSH, both server-side and client-side, in the unix world. If someone mentions SSH in a unix context, assume OpenSSH unless told otherwise.
- PuTTY is an SSH client mostly found on Windows.
- AutoSSH: Automatically restart SSH sessions and tunnels
- Corkscrew: tunnel through HTTP proxies
- SSHFS: mount remote filesystems over SSH
If public key authentication doesn't work: make sure that on the server side, your home directory (
~/.ssh directory, and the
~/.ssh/authorized_keys file, are all writable only by their owner. In particular, none of them must be writable by the group (even if the user is alone in the group).
chmod 755 or
chmod 700 is ok,
chmod 770 is not.
What to check when something is wrong:
ssh -vvvto see a lot of debugging output. If you post a question asking why you can't connect with ssh, include this output (you may want to anonymize host and user names).
- If you can, check the server logs, typically in
- If public key authentication isn't working, check the permissions again, especially the group bit (see above).
- How to make password-less login work
- Keep SSH Sessions running after disconnection.
- SSH easily copy file to local system.
- Quoting in ssh $host $FOO and ssh $host “sudo su user -c $FOO” type constructs
- What steps does the system go through when handling an SSH connection?
- How can I pause up a running process over ssh, disown it, associate it to a new screen shell and unpause it?
- Kill an unresponsive ssh session without closing the terminal