Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | !!!Urgent Help with SFTP in C++/Shell !!! |
|---|---|
| Date: | Mon, 31 Jul 2006 13:16:12 -0400 |
Hi!
I am new member to this group. Hi to all and thanks for having me in.
I am stuck with some unusual situation and am seeking urgent help. We have a backend server in C++ on Solaris 5.9 . The need is to intiate a sftp/scp to a remote location. We have the login and passwords set up. I know for non-interactive SFTP/SCP2 sessions we can exchange RSA/DSA keys. But that is not doable in my current business situation between the Prod Support, the other business entity to which we are ftping the files and out IT team.
Is there a way I can pass the password to the scp session? I tried few things that are usually doable in ftp(plain old non scure ftp) like passing the password in batch etc but the same doesnot work for SFTP.
Is there any way I can create a process that can pass the password to the scp command?
Any perlsript(basic perl without net::sftp or other packages [sorry! for the constraints but relations with prod support are not very great] and shell script that can handle this is also possible)
Any help or suggestions in this regard great!!!
Thanks all
Shekhar
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | make failure on Solaris 10, Boxall, John |
|---|---|
| Next by Date: | How do I silence the banner?, Chris de Vidal |
| Previous by Thread: | make failure on Solaris 10, Boxall, John |
| Next by Thread: | How do I silence the banner?, Chris de Vidal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |