Managing Remote Systems in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Open and Close an sftp Connection to a Remote System

  1. Open a connection to a remote system by using the sftp command.
    $ sftp remote-system

    If the connection succeeds, a confirmation message and prompt are displayed.

  2. If prompted, type your password.
    Password: password

    If the sftp interface accepts your password, it displays a confirmation message and the (sftp>) prompt.

    You can now use any of the commands that are supplied by the sftp interface, including help. The principal commands are summarized in Table 3–2.

  3. Close the sftp connection.
    sftp> bye
Example 3-2  Opening an sftp Connection to a Remote System

This sftp session was established to connect to the remote system pluto:

$ sftp pluto
Connecting to pluto.
Password: password
sftp>