CLI shortcuts, 6
Here's a nifty SSH 'shortcut'. This requires that you have an existing SSH key on the remote box.
Use this script, named
Add to the
Issue a remote command:
Source: O'Reilly Linux Server Hacks
Use this script, named
ssh-to:
#!/bin/sh
ssh `basename $0` $*
Add to the
bin directory, then add symlinks to your remote box(es):
$cd /bin
$ln -s ssh-to remote-server-name
Issue a remote command:
remote-server-name freeSource: O'Reilly Linux Server Hacks
Comments
Post a Comment