This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Setting up SSH keys for password less connections for sftp


Hello,

I am attempting to replace an automated ftp process with sftp. This ftp
process , which runs on a Windows 2000 server, grabs EDI files from our HPUX
11.0 server every 10 minutes and places then on the EDI Server. I would like
to modify this process to use sftp and use the SSH keys for password less
connections ..i.e. public key authentication.

So far I have installed and tested SSH on the HPUX 11.0 server. I have also
installed cygwin on the Windows 2000 server and preformed a successful test
using sftp. The next step is to setup the public key authentication so that
I can use sftp in the automated ftp process.

I have Google'd the net and searched the archives of this list but have not
been able to find any good documentation that shows me exactly what needs to
be done in order to get the authentication working in my environment (mix of
Windows and UNIX). So far I have been able to generate the private and
public keys for both servers as show below:

HPUX 11.0 - ssh-keygen -t dsa -f hp_sftp_user
This command create the following files hp_sftp_user & hp_sftp_user.pub

Windows / CYGWIN - ssh -keygen -t dsa -P ""
This was an interactive session and I was asked for the file names.
win2k_sftp and win2k_sftp.pub were generated.

** Please let me know if there are better ways to generate the above keys
..including any additional options I may need.

If the above mentioned keys are workable ... I now need a solution that will
allow me to put these files to use on both the HPUX and Windows servers so I
will be able to use password less connections .. which is especially need
for the scheduled ftp process running on Windows.

Thanks in advance for you help,
Chris Shehan




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]