Secure Shell is the active remote access protocol on a newly installed Oracle Solaris system. The default implementation of Secure Shell is the sunssh implementation (SunSSH). The openssh implementation (OpenSSH) is also available.
SunSSH uses low-level cryptography APIs from the OpenSSL libcrypto library. The OpenSSL toolkit implements the Secure Sockets Layer and Transport Layer Security. To display the version of OpenSSL, run the openssl version command in a terminal window.
In Secure Shell, authentication is provided by the use of passwords, public keys, or both. All network traffic is encrypted. Thus, Secure Shell prevents a would-be intruder from being able to read an intercepted communication. Secure Shell also prevents an adversary from spoofing the system.
Secure Shell can also be used as an on-demand virtual private network (VPN). A VPN can forward X Window system traffic or can connect individual port numbers between the local systems and remote systems over an encrypted network link.
With Secure Shell, you can perform these actions:
Log in to another host securely over an unsecured network.
Copy files securely between the two hosts.
Run commands securely on the remote system.
Secure Shell provides public key and password methods for authenticating the connection to the remote system. Public key authentication is a stronger authentication mechanism because the private key never travels over the network.
The authentication methods are tried in the following order. When the configuration does not satisfy an authentication method, the next method is tried.
GSS-API authentication – Uses credentials for GSS-API mechanisms such as mech_krb5 (Kerberos V) to authenticate Secure Shell clients and servers. For more information about GSS-API authentication, see Introduction to GSS-API in Developer’s Guide to Oracle Solaris 11.3 Security.
Host-based authentication – Uses host keys and rhosts files. Uses the Secure Shell client's RSA or DSA public/private host keys to authenticate the client. Uses the files. Uses the client's RSA or DSA public/private host keys to authenticate the client. Uses the rhosts files to authorize clients to users.
Public key authentication – Authenticates users with their RSA or DSA public/private keys.
Keyboard-interactive authentication – Uses PAM to authenticate users. Keyboard authentication method in v2 allows for arbitrary prompting by PAM. For more information, see the SECURITY section in the sshd(1M) man page.
The following table shows the requirements for authenticating a user who is trying to log into a remote system. The user is on the local system, the client system. The remote system, the Secure Shell server, is running the sshd daemon. The table shows the Secure Shell authentication methods and the system requirements.