How can I connect without entering the ssh login password?

40 Views Asked by At

gpg -d -q .sshpass.gpg | xargs -i sshpass {} ssh -tt user@server

root@localhost:~# ^[[A^[[C^C

I thought I was going to connect to an interactive shell.

However, only the prompt from the remote server is displayed. Since nothing was input, I had no choice but to escape with ctrl+c.

I expected to be able to log in via ssh with an encrypted password.

I often connect to multiple servers via ssh. I am trying to use ssh connection by registering it as an alias. Is there another way?

0

There are 0 best solutions below