PermitRootLogin forced-commands-only

Rund um die Sicherheit des Systems und die Applikationen
Post Reply
macindy
Posts: 33
Joined: 2004-02-13 15:14
 

PermitRootLogin forced-commands-only

Post 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?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: PermitRootLogin forced-commands-only

Post by Joe User »

man sshd_config
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
macindy
Posts: 33
Joined: 2004-02-13 15:14
 

Re: PermitRootLogin forced-commands-only

Post by macindy »

Das ist schon klar mit PermitRootLogin without-password gehts ja auch.
eof__
Posts: 30
Joined: 2005-07-12 17:40
 

Re: PermitRootLogin forced-commands-only

Post 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:
Post Reply