Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.ssh authorized_keys and sshd_config

Status
Not open for further replies.

gregoryt

Technical User
Joined
Nov 28, 2003
Messages
6
Location
US
I am trying to access a remote server on which I don't have root access. The system /etc/ssh/sshd_config file reads:

RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts

The authorized keys line is commented - which I can't change. Is there somewhere else to override this setting essentially allowing 'passphrase/passwordless' ssh login without having to have a key in ssh_knownhosts which roott owns and I cannot write too?
Any help would be much appreciated. I can post the entire sshd_config and ssh-config files if that would be helpful

Thanks
-gregory
 
That looks okay.
Did you add your key from your workstation to your users' authorized_keys file on the remote server.
Permission should be 600 on this file


"If you always do what you've always done, you will always be where you've always been."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top