Keep It Simple, Stupid | |
PerlMonks |
Re^5: Help Required - Problem Automating SFTPby Kraythorne (Sexton) |
on Jan 30, 2009 at 11:28 UTC ( [id://740144]=note: print w/replies, xml ) | Need Help?? |
Ok, the saga continues... This is the information I have back from the client: 'We restrict external logins to sftp connections only and chroot the users into their home directories, i.e. you don’t see “/home/mediatech” when you log in, you just see “/”. Now the problem arises when you are chrooted, in this case the command line sftp won’t connect, when you are not chrooted command line sftp works fine. Unfortunately this server is shared with other external customers so it is considered good practice to have all accounts chrooted. I can’t find anything about why this is the case or how to fix it but I have found that psftp (command line sftp that comes with Putty) works. As far as I can see psftp is a generic command line sftp client that does everything Openssh sftp does. I assume that it would integrate into Perl scripts exactly the same as sftp would.' So my question is - Can I get Net::SFTP::Foreign to work with Putty psftp? If not is there another module I could use? Thanks
In Section
Seekers of Perl Wisdom
|
|