Background tunnel
From: Jim Lill (jpl@jpl.vectorbd.com)
Date: 11/24/02
- Next message: Nico Kadel-Garcia: "Re: SCP batchmode"
- Previous message: Neil W Rickert: "Re: ssh remote gives message [: missing `]'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Jim Lill" <jpl@jpl.vectorbd.com> Date: Sun, 24 Nov 2002 20:55:49 GMT
I want to set up a tunnel to a remote system and have it all happen in the
background. I need to use password etc. This works, but not in the bg
#!/usr/bin/expect
spawn ssh -x -p 23 -L 25:localhost:25 -L 143:localhost:143 me@host.com
expect {
assword: { send mypw\n; interact }
what do I need to do?
TIA
-Jim
- Next message: Nico Kadel-Garcia: "Re: SCP batchmode"
- Previous message: Neil W Rickert: "Re: ssh remote gives message [: missing `]'"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]