shh linux code example
Example 1: bash how to log in to remote server
# Basic syntax:
ssh username@ip_or_host_address
password
Example 2: access ssh session
ssh -i <KEY CERTIFICATE | .ppk or .pem file> <URL for local or remote server>
Example 3: file connection ssh
sudo chmod 400 [key file]
sudo ssh -i [key file] [username]@[ip]