fosshelp
Custom Search
Friday, August 22, 2014
Expect Script Example for SSH
#!/usr/bin/expect -f
#Enable debug mode
#exp_internal 1
set timeout 20
spawn ssh saju@192.168.56.101
expect "password"
send "saju\n"
##To Get console after SSH
interact
1 comment:
sunset
January 24, 2019 at 2:43 PM
c language sample codes
Recursive directory walk
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
c language sample codes
ReplyDeleteRecursive directory walk