Skip to content

Latest commit

 

History

History

auto-password-ssh-login

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

SSH 免密码登录

#!/usr/bin/expect

set server [lindex $argv 0];
set timeout 3

spawn ssh root@your ip
expect "passphrase"
send "your password\r"
interact