For Linux and MacOS users, SSH and SFTP clients should be installed by default.
For MS Windows users, clients must be installed. One possibility is PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/), which includes both SSH and SFTP clients. To use these from the command line, it is easiest to either add the installation folder (default is \Program Files\PuTTY
) to the PATH environment variable, or install the executables in a directory which is already on the path.
To start an SSH session using the GUI, start PuTTY from the "Start" menu.
To start an SSH session, open a terminal window and type
putty <user@host>
If the executable is not in the PATH, you will need to specify the full path, e.g.,
"Program Files\PuTTY\putty" <user@host>
To start an SFTP session, open a terminal window and type
psftp <user@host>
If the executable is not in the PATH, you will need to specify the full path, e.g.,
"Program Files\PuTTY\psftp" <user@host>
To start an SSH session, open a terminal window and type
ssh <user@host>
To start an SFTP session, open a terminal window and type
sftp <user@host>
For Linux and MacOS, the key file should typically be saved in ~/.ssh
, and must be only readable by owner.
To use the key for authorization:
ssh -i <keyfile> <user@host>
sftp -i <keyfile> <user@host>
Or, for PuTTY
putty -i <keyfile> <user@host>
psftp -i <keyfile> <user@host>