Automatically Enter SSH Password With Script
#!/usr/bin/expect
set timeout 20
set ip [lindex $argv 0]
spawn ssh "your-user-name\@$ip"
expect "Password:"
send "your-pass\r";
interact
http://ift.tt/1G2q5j6
http://ift.tt/1SYU5oQ
http://ift.tt/1IRBkDl
#!/usr/bin/expect
set timeout 20
set ip [lindex $argv 0]
spawn ssh "your-user-name\@$ip"
expect "Password:"
send "your-pass\r";
interact
http://ift.tt/1G2q5j6
http://ift.tt/1SYU5oQ
http://ift.tt/1IRBkDl
from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1IRBjiO
via LifeLong Community
No comments:
Post a Comment