Next | Trivial Utilities | 15 |
It used to be that you could make a symlink to rsh:
% ln -s /usr/local/bin/rsh potato
rsh would look at argv[0] and use that as the host name
So now you could type
% potato
And it would act as if you had typed
% rsh potato
ssh doesn't support that feature
But ssh-host does:
parsnip% cat ~/bin/ssh-host exec ssh "$(basename $0)"
parsnip% ln -s ssh-host ~/bin/potato parsnip% potato ************************* * Welcome to potato.com * ************************* potato%
Next | Menu | Copyright © 2012 M. J. Dominus |