Difference between revisions of "Talk:SSH keys"

From ArchWiki
Jump to: navigation, search
m (use rsa?)
(sshd_config)
Line 1: Line 1:
 
Maybe the default 2048 bit rsa key is better?[[User:Vogt|Vogt]] 01:54, 31 August 2008 (EDT)
 
Maybe the default 2048 bit rsa key is better?[[User:Vogt|Vogt]] 01:54, 31 August 2008 (EDT)
 +
 +
== sshd_config ==
 +
 +
Sometimes the 'ssh-add' is not enough to log in without a password. It is possible that ssh is configured in such way that only a limited group of users is allowed to the machine.
 +
In this case - you need root-access to the server! - you have to change the configuration-file. Mostly you can find it as /etc/ssh/sshd_config.
 +
If the last line(s) of this file read(s): 'AllowUsers  <username>', you will have to add a similar line with your own username. Don't forget to restart the ssh deamon: '/etc/init.d/sshd restart'.

Revision as of 10:34, 10 February 2009

Maybe the default 2048 bit rsa key is better?Vogt 01:54, 31 August 2008 (EDT)

sshd_config

Sometimes the 'ssh-add' is not enough to log in without a password. It is possible that ssh is configured in such way that only a limited group of users is allowed to the machine. In this case - you need root-access to the server! - you have to change the configuration-file. Mostly you can find it as /etc/ssh/sshd_config. If the last line(s) of this file read(s): 'AllowUsers <username>', you will have to add a similar line with your own username. Don't forget to restart the ssh deamon: '/etc/init.d/sshd restart'.