|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Automate SFTP UNIX to Windows
Hi,
Could you please help to solve the below issue... my requirement is automate the SFTP between UNIX and Windows server. I want to get and put some files to UNIX AIX machine(SFTP client) to Windows server(SFTP server). For that, i have generated key pair (private/public) in my AIX machine . by ssh-keygen -t dsa ~/.ssh2/id_key ~/.ssh2/id_key.pub and public key copied into .ssh2/authorised_key file in AIX . then i transfered my public key file (id_key.pub) to Windows Server through email. But i dont know where to copy and save the public key file in windows. In windows i have installed Filezilla SFTP server and am able to do SFTP with password . In VMS Server and UNIX Server, its working fine , I pasted in .ssh2/authorised_key file Anticipating your reply... Cheers Mahiban |
| Sponsored Links | ||
|
|
|
|||
|
many thanx for ur reply...
I have not given password or passphrase ,while generating the key. But i think ,somewhere inside Filezilla server(3rd party SFTP server for windows) some authorisation file should be there. but am not able to locate that. u have any idea about known_host in windows ? Cheers Mahiban |
|
|||
|
I had a project where I needed to automate retrieving files from a vendor, so I used ssh-keygen and gave the vendor the public key from that, and it worked fine.
But if I need to automate sending files using SFTP, would I still generate the key pair from the server that I'm sending from? From what I've learned about PGP encryption, it's always the side receiving the file that has to provide their public key to the side sending the file. Is SSH key encryption different than PGP key encryption? How does SSH key encryption and SFTP work for sending files? Does it use the private key to encrypt the file, and then then the receiver uses the public key to decrypt the file? That's opposite of how PGP works from what I understand, but maybe SSH just doesn't work the same as PGP. |
![]() |
| Bookmarks |
| Tags |
| ssh |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| automate sftp using unix script | priyamurthy2005 | Shell Programming and Scripting | 34 | 02-02-2009 07:36 AM |
| Automate SFTP UNIX to Windows | mahiban | Windows & DOS: Issues & Discussions | 1 | 07-22-2008 06:56 AM |
| SFTP from windows E:/ to unix server | pranavagarwal | Shell Programming and Scripting | 12 | 11-28-2007 10:58 AM |
| SFTP files from windows drive E: to unix | pranavagarwal | UNIX for Dummies Questions & Answers | 4 | 11-26-2007 09:17 AM |
| Automate batchfile generation for sFTP | mpang_ | Shell Programming and Scripting | 0 | 04-26-2006 06:34 AM |