Reputation: 133
I wanted to launch the jenkins which is installed through docker automatically in browser.. im working on windows os. in docker base os is ubuntu.. then i used solution from this link1.now im getting following error when i ssh using -v command i find that "read_passphrase: can't open /dev/tty: No such device or address"
by going through many websites i have created ssh file through windows using gitbash it contains id_rsa,id_rsa.pub,known_hosts files.
Now what should i do to launch the jenkins file in browser which is build using docker
Upvotes: 0
Views: 901
Reputation: 1918
I'm just going to address the error message you pasted for now.
ssh
is trying to get keyboard input for the passphrase on your private key, but can't open the terminal correctly. Are you running the ssh
command directly in the terminal, or from a script? If not, try running ssh
directly. If you need to run ssh
from a script:
ssh-agent
: Run eval $(ssh-agent)
, then run ssh-add
and enter your passphrase. ssh
will no longer prompt for a passphrase now.Upvotes: 1