Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: mackayr on July 26, 2005, 01:15:38 AM

Title: Can't access through sftp after installing public SSH keys
Post by: mackayr on July 26, 2005, 01:15:38 AM
I recently configured my system to allow SSH connection with public/private keys.  That part works fine with Putty.  However, now I cannot seem to log into my server using sftp.  Is there any way to sftp into port 22 using keys?  I've tried Filezilla, but I can't seem to find anywhere to install the private key.

Thanks,

Rob
Title: Can't access through sftp after installing public SSH keys
Post by: mackayr on July 26, 2005, 01:53:36 AM
OK.  False alarm.  I continued to look through Filezilla settings and found that it takes configuration information from putty default account.  I added the key to that account, saved it, and Filezilla works fine now.

However, now I'm somewhat troubled about the admin account.  Previously, I used to be able to log in to admin remotely, and make configuration changes.  Now I can't login to that using putty.

Any suggestions?
Title: Can't access through sftp after installing public SSH keys
Post by: raem on July 26, 2005, 01:27:41 PM
mackayr

> Previously, I used to be able to log in to admin remotely, and make configuration changes.  
> Now I can't login to that using putty.


I guess your ssh key is for your username.
You need to use a different key for the root user if you wish to login as that user.
Title: Can't access through sftp after installing public SSH keys
Post by: mackayr on July 26, 2005, 04:25:28 PM
It seems that one key works for both my own username and for root.  I've put the same public key in the .ssh folder of root, users/name, and users/admin.  It works fine for root and my own username, but not for admin.  I think it may have something to do with the fact that I'm not really logging onto a shell account but rather that specific configuration screen.  Perhaps there's a command to load that screen?

Rob