how to connect to server in linux from client pc code example
Example 1: bash how to log in to remote server
# Basic syntax:
ssh username@ip_or_host_address
password
Example 2: use file connect ssh
sudo chmod 400 [key file]
sudo ssh -i [key file] [username]@[ip]