Simo Kauppi <swk <at> nic.fi> writes: > > On Fri, Dec 02, 2005 at 07:02:47PM -0500, Amish Rughoonundon wrote: > > Hi, > > 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: > > > > 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 > > In my configuration the sshd uses the syslog facility and you can get > more verbose output into the /var/log/syslog, if you set the LogLevel to
And correcting myself... The log file is of course /var/log/auth.log by default. > Simo Also make sure that the file permissions are correct: ~$ chmod 600 .ssh/authorized_keys #this is needed if you have not disabled StrictModes in the /etc/ssh/sshd_config ~$ chmod go-w $HOME $HOME/.ssh Simo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]