Using the SSH Clients

The usual OpenSSH clients, ssh, scp, and sftp, work normally without any extra effort on your part:

    # Log into server.example.com as user smith
    $ ssh -l smith server.example.com

    # Copy myfile from your local machine to server.example.com
    $ scp myfile server.example.com:

    # Run an interactive file-copy session with sftp
    $ sftp server.example.com

Get SSH, The Secure Shell: The Definitive Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.