Save a text file as “login.command” or whatever but thats what I’m calling mine.
Enter this:
#!/bin/sh
ssh yourusername@yourdomain.com
Then you’ll need to make the file executable
“cd” to wherever your file is then run
chmod +x login.command
You may also have to do a get info and then select “Terminal” under “Open With”. You should now be able to double click the file and then the terminal will open and login to your server. If you drag that file under your “Places” in the sidebar your now one click away.
More SSH login goodness
Apr, 22 -- Categories: Linux