[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Setting up prvate public keys for ssh

I have been trying to use sftp with cuteFTP 7.1 Pro. I set it up with SFTP using SSH2 on port 22. I have also set the public and private keys. I want to use this since for some reason when I use only username and password and try to download multiple files, it asks me for the password continuously for some reason. After setting up the public and private keys, if I try to connect to the sshd on the debian machine it refuses to connect:

STATUS:> [12/2/2005 6:47:16 PM] Connecting to SFTP server test.rh.rit.edu:22 (ip =

ERROR:> [12/2/2005 6:47:16 PM] No further authentication methods available.

ERROR:> [12/2/2005 6:47:16 PM] The requested operation failed for an unknown reason.

ERROR:> [12/2/2005 6:47:16 PM] Can't connect to test.rh.rit.edu:22. SFTP21 error = #4.

STATUS:> [12/2/2005 6:47:16 PM] SFTP21 connection closed.

I don't know if the problem is with cuteFTP or the ssh server on the debian machine. I read the article at this website "http://www.debian-administration.org/articles/152"; and did more or less everything they said. That is:
I did "ssh-keygen -t rsa" in my ~ directory
I made sure the files "id_rsa.pub" and "id_rsa" were there in ~/.ssh/
I also checked that the sshd_config file contains the lines:
"RSAAuthentication yes"
"PubkeyAuthentication yes"

and I manually copied the content of the public key file on my windows machine into the file "~/.ssh/authorized_keys2"

and it still did not work. On a side note, does sshd print anything to log files. If yes where is the log file located. Thanks a bunch. Amish

Reply to: