SSH is a cryptographic network protocol for operating network services securely over an unsecured network. The standard TCP port for SSH is 22. The best known example application is for remote login to computer systems by users.
SSH provides a secure channel over an unsecured network in a client-server architecture, connecting an SSH client application with an SSH server. Common applications include remote command-line login and remote command execution, but any network service can be secured with SSH. The protocol specification distinguishes between two major versions, referred to as SSH-1 and SSH-2.
The most visible application of the protocol is for access to shell accounts on Unix-like operating systems, but it sees some limited use on Windows as well. In 2015, Microsoft announced that they would include native support for SSH in a future release.
SSH was designed as a replacement for Telnet and for unsecured remote shell protocols such as the Berkeley rlogin, rsh, and rexec protocols. Those protocols send information, notably passwords, in plaintext, rendering them susceptible to interception and disclosure using packet analysis. The encryption used by SSH is intended to provide confidentiality and integrity of data over an unsecured network, such as the Internet.
VyOS 1.1 supported login as user
root. This has been removed due
to tighter security in VyOS 1.2.
<port>you want SSH to listen on. By default, SSH runs on port 22.
Define allowed ciphers used for the SSH connection. A number of allowed ciphers can be specified, use multiple occurrences to allow multiple ciphers.
List of supported ciphers:
Specifies the available MAC algorithms. The MAC algorithm is used in protocol version 2 for data integrity protection. Multiple algorithms can be provided.
List of supported MACs:
Specify allowed KEX algorithms.
List of supported algorithms:
sshdlog level. The default is
Re-generated the public/private keyportion which SSH uses to secure connections.
Already learned known_hosts files of clients need an update as the public key will change.
Re-generated a known pub/private keyfile which can e.g. used to connect to other services (RPKI cache).
vyos@vyos:~$ generate ssh client-key /config/auth/id_rsa_rpki Generating public/private rsa key pair. Your identification has been saved in /config/auth/id_rsa_rpki. Your public key has been saved in /config/auth/id_rsa_rpki.pub. The key fingerprint is: SHA256:XGv2PpdOzVCzpmEzJZga8hTRq7B/ZYL3fXaioLFLS5Q vyos@vyos The key's randomart image is: +---[RSA 2048]----+ | oo | | ..o | | . o.o.. o.| | o+ooo o.o| | Eo* =.o | | o = +.o*+ | | = o *.o.o| | o * +.o+.+| | =.. o=.oo| +----[SHA256]-----+
Two new files
will be created.