|
|
Question : Problem: SSH Key exchange
|
|
HI, I have 2 machines A and B. On A, i run a script ssh_setup.sh which will generate the keys and transfer(by ssh) keys to B. From A, i ssh to B and then run the same script ssh_setup.sh which also resides on B.
The script generates keys on B and again ssh A to transfer the keys. While the script in B ssh A to transfer the keys, the following message appaers
You have no controlling tty. Cannot read passphrase. You have no controlling tty. Cannot read passphrase. lost connection
how do i overcome this?
|
Answer : Problem: SSH Key exchange
|
|
add "-t" option to ssh invocation.
|
|
|
|