0
votes
0
comments
3,288
views

Script to login to ssh twice

0 votes, 0.00 avg. rating (0% score)
I need to login through ssh twice with a script and can’t get it to work. This is what I have in my script file: but this fails with the error: user@host:~$ ssh: Could not resolve hostname address2: Name or service not known send: spawn id exp7 not open while executing "send "$pwr"" If I […]