Secure shell (SSH) is both a program and a network protocol that is located at the application layer and is normally used to access the command line (shell) on another computer.