Page 1 of 1

PermitRootLogin forced-commands-only

Posted: 2005-07-11 11:59
by macindy
Hallo zusammen!

Ich habe ein Schlüsselpaar erstellt und in .ssh/authorized_keys kopiert.
Soweit so gut - Login funktioniert.

Nur wenn ich
PermitRootLogin forced-commands-only
in die sshd_config eintrage komme ich nicht mehr rein.
Dieses Command stammt aus einem Debian HowTo - wie ist das bei Suse?

Re: PermitRootLogin forced-commands-only

Posted: 2005-07-11 12:03
by Joe User
man sshd_config

Re: PermitRootLogin forced-commands-only

Posted: 2005-07-11 12:37
by macindy
Das ist schon klar mit PermitRootLogin without-password gehts ja auch.

Re: PermitRootLogin forced-commands-only

Posted: 2005-07-12 17:52
by eof__
soweit ich weiss muss man die commands in die authorized_keys
eintragen..

das hat funktioniert. Man kann dann auch wrapper eintragen, die wiederum fuer bestimmte user passwoerter verlangen usw. usw.

eine gute quelle ist das oreilly sshd buch...

:wink: