Quote:
Originally Posted by
reborg
ok, you don't appear to have an ftp server installed.
You probably have a few to choose from on redhat, such as vsftpd or pureftpd or wuftpd. You will need to install one of these.
On the other hand I would be very surprised if ssh is not installed, you could use a different client in wondows that supports sftp such as
FileZilla - The free FTP solution and use a secure ftp session without installing any more software.
Yes, you are right that ssh is installed. I've set up rsa and dsa keys using ssh-keygen -t rsa and ssh-keygen -t dsa so that I can ssh between two vm nodes without needing to enter a password and that is working correctly.
I downloaded FileZilla and tried to sftp but I'm still having no luck. I've played around with this for hours now, and I'm not even sure if I'm doing the keys correctly or if I'm just mixing apples and oranges and maybe don't even need the keys for sftp at all.
I used a program called puttygen to generate the keys for my pc and then I made an ISO image and mounted it as the dvd drive so I could copy the public keys into the authorized_files (since I don't know another way to get the files there until I can get ftp/sftp working) . From the man pages, it sounds like if I just use 'rsa' and 'dsa' as my types in 'ssh-keygen -t xxx' then I am generating rsa2 and dsa2 keys. However, I tried ssh-2 rsa keys (1024 bit and then 2048 bit) and I tried ssh-1 rsa keys and I tried ssh-2 dsa keys and well, I'm just stumped.
I was wondering if I need to change the format of the key text generated in Windows as the format doesn't match the other entries in authorized_files so I played around with that a bit but still no luck. I did make sure that the key was one continuous line because when I tried the dsa key, it had line breaks which I removed.
And I did remember to use the corresponding private key file in FileZilla by pointing it to the appropriate .ppk file under settings.
But always...
Status: Connecting to rac1.lyl.com:22...
Response: fzSftp started
Command: keyfile "D:\RAC Project\puttygen\2048privatekeyssh2rsa.ppk"
Command: keyfile "D:\RAC Project\puttygen\dsaprivatekey.ppk"
Command: open "oracle@rac1.lyl.com" 22
Error: Connection timed out
Error: Could not connect to server
Status: Waiting to retry...
Any idea what I'm missing or doing wrong?