#!/usr/bin/expect

spawn ssh <host to which you are trying to connect>

expect {
assword: { send <your password>\n; interact }
}


-- 
        Blue Lang                              Unix Systems Admin
        QSP, Inc., 3200 Atlantic Ave, Ste 100, Raleigh, NC, 27604
        Home: 919 835 1540  Work: 919 875 6994  Fax: 919 872 4015

Reply via email to