Learn advanced SSH commands with this cheat sheet

We round up handy SSH commands to help you connect to remote servers.
295 readers like this.
Programming keyboard.

Opensource.com

Secure Shell (SSH) is a powerful tool for connecting to remote servers. But with all that power comes a dizzying array of options and flags. The ssh client command has many options—some for daily use and some arcane. I put together a cheat sheet for some common SSH uses. It doesn't begin to cover all the possible options, but I hope you find it useful for your remote access needs.

Download the Advanced SSH Commands Cheat Sheet now (PDF)

User profile image.
Ben Cotton is a meteorologist by training, but weather makes a great hobby. Ben works as the Fedora Program Manager at Red Hat. He is the author of Program Management for Open Source Projects. Find him on Twitter (@FunnelFiasco) or at FunnelFiasco.com.

4 Comments

Along with that power comes a lot of risk you have to prepare for. It might be good to add an article later on how to make your remote server safe. As soon as you open it up to the outside world, attempts at invasion begin.

@Ben in your ‘advanced ssh cheat sheet’ it has been mentioned that ssh-copy-id copies a private key to a remote host which is incorrect.ssh-copy-id is used to copy public key to a remote host.

Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.