Answers for "ssh save password"

1

login to ssh with password

ssh -o PasswordAuthentication=yes user@hostname
Posted by: Guest on October-22-2020
1

ssh save password

# generate ssh keygen on the client

$ ssh-keygen -t rsa -b 2048
$ ssh-copy-id id@server
id@server's password: 

# after this you will not be prompted for password again
Posted by: Guest on January-20-2021
-2

ssh user password example

sshpass -p 'YourPassword' ssh user@host
Posted by: Guest on June-24-2020
-1

ssh rembeber password

/home/yourusername/.ssh/id_rsa /home/yourusername/.ssh/id_rsa.pub
Posted by: Guest on June-15-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language