hot to add a private key to ssh code example
Example 1: ssh add new key
$ eval "$(ssh-agent -s)"
> Agent pid 59566
Example 2: add key file to ssh
sudo chmod 400 [key file]
sudo ssh -i [key file] [username]@[ip]
$ eval "$(ssh-agent -s)"
> Agent pid 59566
sudo chmod 400 [key file]
sudo ssh -i [key file] [username]@[ip]