dbasse Posted August 1, 2008 Share Posted August 1, 2008 Hi guys, so I got at last my very first Mac (that would be the 15" MBP) and I'm just loving it! I discovered the Automator application and wondered if I'd be able to make it: 1. Start a new terminal window 2. Run ssh user@server in it 3. Somehow send my password to log in 4. Run screen -rd on the server Googling around, I found some attempts like this, but none of them appeared to be sending out a password, so that's where I'm stuck right know. Does any of you know how to do this? In addition, I found a program called sshpass, which is meant to "fool" ssh's interactive authentication, but wasn't able to install it on my Mac. Thanks! //basse Link to comment https://www.insanelymac.com/forum/topic/118741-automator-ssh/ Share on other sites More sharing options...
packrobottom Posted August 1, 2008 Share Posted August 1, 2008 this is easy and you can do it in terminal you don't need automator. Just set up a terminal the way you like (color and theme etc) and add the ssh control to the command field then save your settings as yourname.terminal add this file to startup items in System Preferences -> User Then it will launch on startup. For passwordless SSH you will need to use rsa keys http://www.mactips.org/archives/2007/12/20...e-leopard-only/ Link to comment https://www.insanelymac.com/forum/topic/118741-automator-ssh/#findComment-841254 Share on other sites More sharing options...
dbasse Posted August 2, 2008 Author Share Posted August 2, 2008 Thanks! Got the automatic login up and running. Adding the .terminal file to Login Items would make it run everytime I start up, wouldn't it? I'm actually looking for a way to have an icon in the dock that would launch the terminal and ultimately my screen session. //basse Link to comment https://www.insanelymac.com/forum/topic/118741-automator-ssh/#findComment-842120 Share on other sites More sharing options...
Recommended Posts