10-18-2012 02:00 PM
Someone that I connect to via FTP wants to move to a more secure connection using SSH. They gave me a new address and port(22) and said the the first time I would have to accept a 'fingerprint' file and then enter my normal user id and password. When I connect, I hit enter on my FTP command and then the screen looks like the example below (I changed the address to protect the guilty).
$ ftp sshftp.clientaddress.com 22
It just sits like that and never changes. I am running OpenVMS 8.3, TCP/IP version -> v5.6
Solved! Go to Solution.
10-19-2012 05:53 AM
Thanks Steven, that worked. I had to create a new user on my system that matches the user name on the FTP server. But then logged in as that new user, I was able to SFTP right in and enter my password. THANKS!!!
10-19-2012 08:18 AM
With regular FTP, I was able to specify an input file that contained my user id / password and commands to upload files. With SFTP, I don't need the user id, but I still have to enter a password, and after doing research it looks like I can't specify pwd in a batch (input) file.
This process is automated and runs at night, so I need to be able to get the password in the input file, OR exchange SSH keys between my Open VMS machine and the client's SFTP server.
1) Does anyone have a trick for the password in the input file?
2) If I need to do the key exchange, are there any special directions since this is coming from an OpenVMS machine?
Note: I know how to spell SSH, beyond that, I am clueless.
10-19-2012 09:13 AM
You'll probably need to convert the public key from SSH2 format to OpenSSH format. That will be easier on the far end, though. Picking a random link: http://burnz.wordpress.com/2007/12/14/ssh-convert-