View Single Post
Old 08-12-2011, 07:35 PM   #48
MacUsers
Member
MacUsers began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jul 2011
Device: Kindle 3
Quote:
Originally Posted by jonj678 View Post
On the Kindle: "dbclient -i /mnt/us/id_rsa root@server" will now open a shell on the server
Or, you to leave you guys with less typing, I wrote a few more lines. Put this little script somewhere in the path; I prefer '/usr/local/bin' and use the script like this:
dbssh <host_name> [port-number is optional]
Attachment 75426

It also works without ssh-key but it prints a "error" if it can't find id_rsa in /etc.
Attachment 75425

Hope it helps. Cheers!!

PS. Just one thing guys: Is there any way to make the font-size a bit bigger?

Last edited by HarryT; 10-08-2013 at 12:51 PM.
MacUsers is offline   Reply With Quote