Re: [Ssh-sftp-perl-users] Net::SSH::perl to chroot enviro
Brought to you by:
dbrobins
From: Dave R. <au...@ur...> - 2004-06-02 23:21:05
|
On Wed, 2 Jun 2004, John Fisher wrote: > When I use the perl script I get dropped into the normal environment, as > if the sudo line in .bash_profile had not run. when the source > .bash_profile is the first command given to the ssh object, I get this > debug text: <see below> and the second commend is never executed, the > script hangs. It feels like the perl module enters through another > mechanism than the standard command line ssh. Do other commands work? Have you tried something like just "ls"? If that doesn't work, the problem isn't the specific command. When you send a command, I'm not sure if shell commands will actually work, but I don't know enough about the inner workings of SSH to say (anyone?). -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ |