chroot ssh
Rob
rob at OhReally.com
Fri Apr 16 20:30:49 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
vrijdag 16 april 2004 18:00, j.travis:
> I am very confused by this idea of a '.' as a directory name,
> especially since '.' and '..' already exists in every directory and
> also because of these errors:
>
> [root at devel2 testssh]# mkdir /home/testchroot/.
> mkdir: cannot create directory `/home/testchroot/. ': File
> exists [root at devel2 testssh]# mkdir /home/testchroot/./userx
> [root at devel2 testssh]# cd /home/testchroot/./userx
> [root at devel2 userx]# pwd
> /home/testchroot/userx
You don't need to create the directory /what/ever/./
Instead of using the directory /what/ever/ in your config, you
use /what/ever/./
Ssh then chroots to /what/ever/
./ is not a real directory, it's just a directive for ssh...
Rob
- --
PGP public key:
http://www.OhReally.com/pubkey.asc
Key fingerprint:
9EEB 484F 6C91 3DD2 4C8D 3F1C 1D7D 189B 4BF0 E1DC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAgEJ6HX0Ym0vw4dwRAlQ+AKCCb8+3u6y/WUvK7/Im/PJc9XLluQCdE8Vt
ibryN+wDkjGFNdJABoT9SL0=
=0T/3
-----END PGP SIGNATURE-----
More information about the redhat-list
mailing list