System Administration Guide: Security Services

How to Log In to Another Host With Solaris Secure Shell

  1. Use the ssh command, specifying the name of the remote host.


    myLocalHost% ssh myRemoteHost
    
    The first time that you run the ssh command, a prompt questions the authenticity of the remote host:


    The authenticity of host 'myRemoteHost' can't be established.
    RSA key fingerprint in md5 is: 04:9f:bd:fc:3d:3e:d2:e7:49:fd:6e:18:4f:9c:26
    Are you sure you want to continue connecting(yes/no)? 

    This prompt is normal. You should type yes and continue. If you have used ssh in the past on this remote host, then the prompt is not normal. You should check for a breach in your security.

  2. Enter the Solaris Secure Shell passphrase and the account password when you are prompted for them.


    Enter passphrase for key '/home/johndoe/.ssh/id_rsa': <Return> 
    johndoe@myRemoteHost's password: <Return>
    Last login: Fri Jul 20 14:24:10 2001 from myLocalHost
    myRemoteHost%

    Conduct transactions on the remote host. The commands that you send are encrypted. Any responses that you receive are encrypted.


    Note –

    If you want to subsequently change your passphrase, use the ssh-keygen command with the -p option.


  3. When you are finished with your remote session, type exit or use your usual method for exiting your shell.


    myRemoteHost% exit
    myRemoteHost% logout
    Connection to myRemoteHost closed
    myLocalHost%