[scponly] ssh and scponly related query.
Benjamin Donnachie
benjamin at pythagoras.no-ip.org
Wed Sep 14 13:51:30 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I currently use ssh and scponly to restrict users to file transfers
only, with authentication currently carried out using passwords.
However, I was wondering whether it is possible to specify an
alternative shell depending upon the user and authentication method
used. For example, if using public key authentication I would like
certain users (especially me!) to be able to invoke a bash shell -
however, for all other authentication methods and all other users I
would like it to default to scponly.
I've tried adding an entry to the authorized_keys file specifying
/bin/bash, but this just lead to ssh using scponly as the shell to
invoke bash - which obviously didn't achieve the desired affect!
Many thanks,
Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQIVAwUBQyhjH+gNmph0Y1E2AQKCFA//T9X0tkxc+D5B5FkzAg+1xnrE/W3VVodr
QFTLtxoKRpFj2HOiKVBQunHqbUEoe95HwgaVpahj9UCkivQ3/0APbjPCe54uvisH
OzGDCkKarqu8VH0d5l0J7EfE9tIH9wqcxA4WuF04zsBTNvFMPP99Vrq+EPlVFgf5
plL1EGKd7+b+tvCYNYiFVawf6uXpjWMSugmO9XweupNiyCP3p+thI2eBwJSkKOZZ
Gm+PHszeRtqEiWr+rtltQCk6+WYbo3nGK9gx4TQuAWQ+WoSNaL0tQk62aucSFu6L
PywolKx5pcV7E7PtTJYQ8/5dtv0mDPL96jT6UD41wGLxA9uc95IY1grJYibiEy1B
lqxJhofYcisabyy4oOIW1iY6GdUXjD9RKE+f2srShi/HBrZelSTHgXnUvZuOVKPQ
/8+aELrxmF/xPJQhe2Jbhr1wrw7BeF0u1DlFQsgZmhhAPzSZ9bKk1C9bNvlujBvY
C1SVWKo5PTuP4AL6fvq975LqczmrmmFqXsfIoV9QKYMBAnYA1b9ZGks10IrMEcwD
WwUiwBNtcVPeCQpd/uJJhB9pQV7+bONnh61xQq5wXqnh6P0XOISPsIJtO8kjgv6Q
Lx7XIRgWtuY5U21UOeX/4ZQfuER55ue3CmoOFGsTqzwwIKVnRHxqMMv03kRVnNWx
d73j1Iou2fw=
=PZ4g
-----END PGP SIGNATURE-----
More information about the scponly
mailing list