Expect: Getting PID at both ends of ssh
- From: "Ishmael" <stahl.karl@xxxxxxxxx>
- Date: 22 Jan 2007 12:08:09 -0800
This may be more of a Unix question, but in any case, here goes. I'm
using Expect as a wrapper for 'ssh' (don't worry, I have RSA keys
enabled, so no password issues). Now, Expect provides a nice interface
for getting the PID of it's own spawned process (locally), but I would
like to get the PID at the other end of the ssh (remotely). Ideally, I
would like to get something of the form:
Local PID: 1234 (expect spawned ssh) ---> Remote PID: 5678 (shell)
How do you trace through from one end of ssh to the other? Thanks for
your help!
.
- Follow-Ups:
- Re: Expect: Getting PID at both ends of ssh
- From: Mumia W. (NOSPAM)
- Re: Expect: Getting PID at both ends of ssh
- Prev by Date: Re: Net::SSH::Perl slower than expected
- Next by Date: Re: Expect: Getting PID at both ends of ssh
- Previous by thread: Need help with Net::FTPSSL
- Next by thread: Re: Expect: Getting PID at both ends of ssh
- Index(es):
Relevant Pages
|
|