0
I just want to know how to have multiple tabs logged in to a server via ssh to for example ssh user1@1.1.1.1 for a tab named server1 (to some particular folder location) and ssh user2@2.2.2.2 for a tab named server2(to some particular folder location). Is there any way to do it automatically?
I can just get connected manually by typing my credentials with an ssh commands. But what I want is to get connected automatically in 2 different tabs when start my computer. – ybaylav – 2014-12-15T10:48:31.723
Cygwin is not a real shell, it is a Windows application happens to run in console mode. Your multitabs are also a tweak to Windows, and not to Cygwin. Maybe if you go the other way around, and see if you can script Windows to wake multiple (single-tabbed) CygWin prompts and drop you into those places automatically? Just a guess, I never used Cygwin for long and I am not sure about any command-line switches. – arch-abit – 2014-12-15T10:49:10.707
Why not to use Tasks? – Maximus – 2014-12-15T10:49:14.113
Yes it must have done with tasks but how? As I'm using. C:\cygwin64\bin\bash.exe --login -i I think I'll be needing more parameters for auto ssh – ybaylav – 2014-12-15T10:52:04.273