1 SSH
1 SSH
Introduction
➢ SSH (Secure Shell) is a network protocol that enables secure remote connections
between two systems.
➢ System admins use SSH utilities to manage machines, copy, or move files
between systems
➢ SSH transmits data over encrypted channels, security is at a high level
IP address:
name:
➢ The first time you connect to a host, you’ll see this message:
➢ Type yes and hit enter. You may need to enter your password as well.
sh [email protected]
Use a Different Port Number for SSH Connection
➢ By default, the SSH server listens for a connection on port 22.
➢ If the port setting in the SSH config file has been changed, you’ll need to specify
the port
➢ To connect to a remote host with a custom SSH port number, use the -p flag.
ssh-keygen -t rsa
➢ To use default settings, hit Enter on the prompts for file location and passphrase.
ssh-copy-id username@hostname_or_ip