News for hackers. Stuff that matters.
Re:Gift HN: tund - SSH to your stolen laptop by aphyr on Friday December 24, 2010 @09:49PM (#2038422)
I do a few things.

1. The forwarding user has no group access, and not even write permission for its own home directory. 2. Shell is /bin/false, password is disabled. 3. The SSH public key format actually takes options (man ssh-keygen, -O) which allow it to only be used for port forwarding.

Usually I go through the whole chroot rigamarole, and you certainly could here, but I got lazy and I think these directions will suffice for most people.

This makes me reasonably happy about having a passwordless login to one of my servers.

There are no comments on this comment yet.