cygwin ssh shortcut on windows desktop
Posted
by
Alex Berkoff
on Super User
See other posts from Super User
or by Alex Berkoff
Published on 2012-08-30T23:02:14Z
Indexed on
2012/09/07
21:41 UTC
Read the original article
Hit count: 144
I have multiple servers that I need to remote into. I prefer Cygwin over Putty to do so.
Anyhows - the process of opening my cool Mintty window and then typing the following commands takes too long. PS - I am using a "key" authentication to these servers.
First, I double Click Cygwin Terminal shortcut from my windows desktop.
Then once the terminal session has booted up, from the command prompt I type the following -
$ eval `ssh-agent`
$ ssh-add
$ ssh <username>@<servername>
Please keep in mind that my 'servername' is variable. In fact I have about 10 different server names that could potentially be inserted there - Hence my need for 10 different shortcuts. I would prefer to double click on something from my desktop that will fire up my Mintty and automatically execute the above bash shell commands.
Does anyone have or can recommend a nice/elegant solution to do this?
© Super User or respective owner