My coolest ssh trrick so far is basically some setup tricks with
aliases so that I can do stuff like...

daniel$ ssh myserver-mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 29921 to server version: 5.0.22

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>


Or even piping to it...

$ cat blarg.sql | ssh myserver-mysql

There are all kinds of possibilities of what it might connect to or
setup.  Anything that you do a lot can have an alias.
_______________________________________________
PDXLUG (a Portland Linux user group) mailing list
[email protected]
http://lists.pdxlug.org/mailman/listinfo/pdxlug
IRC: irc.freenode.net #pdxlug & #orlug

Reply via email to