Search Results

Search: Posts Made By: zvibalas
13,162
Posted By zvibalas
login script using expect
here is the script i am using.

#!/usr/bin/expect

set timeout 3

if {[llength $argv] == 0} {
puts "usage: automate_ssh.sh <username> <password> <ip> [command]"
exit 1
}

set command...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 02:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy