Coredump
Work, play, and everything in-between [feed]

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 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 free

Source: O’Reilly Linux Server Hacks

Read more:


No Comments Yet


Be the first to comment!

Leave a comment


« »