On Thu, 2006-04-20 at 11:48 +1000, Jamie Wilkinson wrote:
> Further to that, you can do some pretty neat (or unmaintainable :-) things
> with the authorized_keys file, e.g:
> 
> from="*.example.org",environment="SNUH=bar",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,command="/usr/sbin/sudo
>  apt-get update" ssh-dss AAAA....= some comment about this key
> 
> and then you can load a different key using ssh -i (IIRC) to change the
> behaviour of the machine at the other end when you log in :-)

I like the idea of different keys for different commands, that could be
very useful...thanks!

-- 
Simon Wong <[EMAIL PROTECTED]>

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to