[plug] ssh, su, screen. Conflict?

Lyndon Maydwell maydwell at gmail.com
Sun Dec 5 00:53:47 WST 2004


> Note that 'ssh $user at localhost' will get around it

I've actually always run sshd from a non-standard port,
with root-login disabled. Just seems like sensible practice.

from /etc/ssh/sshd_config:

        Port hereBeTheNonStandardPort
        AllowUsers hereBeTheSSHUser
        Protocol 2
        PermitRootLogin no
        LogLevel VERBOSE

With this setup, it's not possible to ssh in as the user
running screen. I primarily use ssh to access my computer
from uni, so limiting incomming connections to the LAN
isn't really applicable.



More information about the plug mailing list