Es gibt einige DInge in der Conf-Datei z.B.
# Authentication:
LoginGraceTime 600
PermitRootLogin no
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys
AuthorizedKeysFile %h/.ssh/authorized_keys_2
# rhosts authentication should not be used
RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no
# Uncomment to disable s/key passwords
#ChallengeResponseAuthentication no
# To disable tunneled clear text passwords, change to no here! PasswordAuthentication yes
Ich bin zu doof, ich meld' mich weiter mim pwd, sonst vergesse ich es.
Mei�ner, Heinz schrieb:
moin, in /etc/ssh/sshd_config
PermitRootLogin no setzen ...
gr��e heinz
-----Urspr�ngliche Nachricht----- Von: Ridvan Agar [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 9. Juli 2004 12:23 An: [EMAIL PROTECTED] Betreff: Re: [PUG] Automatischer Login mit SSHv2 - HowTo
Muss ich danach noch was machen? Der Derver fragt immer noch nach pwd. Wo ist genau die Datei .ssh/authorized_keys2?
Robert Wei�graeber schrieb:
f�r alle,Hallo ihr alle!
hier ein kurz-HowTo f�r einen Automatischen Login mit SSHv2,
die es gerne schnell haben. Die super-sichere Variante mit passphrase und ssh-agent findet ihr ja auf der Homepage.
Automatischer Login mit SSHv2
auf dem Client:
$ ssh-keygen -t rsa
keine Passphrase eingeben, default-Pfade sind ok. Danach die Datei .ssh/id_rsa.pub ausgeben:
$ cat .ssh/id_rsa.pub
Die Ausgabe kopieren und auf dem Server in .ssh/authorized_keys2 einf�gen. Sind die Usernamen unterschiedlich, hilft es auf dem Client die Datei .ssh/config zu erstellen und dort reinzuschreiben:
Host (freier name) HostName (Name des Servers) User (Username auf dem Server)
Das wars.
Gru�
//Robert
-------------------------------------------------------------- -------------- PUG - Penguin User Group Wiesbaden - http://www.pug.org
---------------------------------------------------------------------------- PUG - Penguin User Group Wiesbaden - http://www.pug.org
---------------------------------------------------------------------------- PUG - Penguin User Group Wiesbaden - http://www.pug.org

