| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Jul 07, 2011
Posts: 3
![]() |
Hello,
I just got my first ever Mac. So being a windows guru I use Putty to access all of my machines at work. On my mac I see where I can individually add a new remote connection so that I can ssh into each one of my machines. But I do not know where the file is located with these configurations so that I can write a script and kick off simultaneous ssh connections without having to manually open each one. I have already generated a key and dropped so that I do not have to enter my password for each machine every time. Does anyone know where the file is located or an easy script that will open up all of my connections at one time? Thanks in advance! |
| QUOTE Thanks | |
![]() Member Since: Jul 07, 2011
Posts: 3
![]() |
Ok, so for those who care who are reading this we found a temp fix until I can improve it and make it more sufficient. Its basically a line in the shell with a mix of perl and applescript. It managed to do what I needed. But if anyone has any other ideas other than mixing some languages together I am still open ears.
|
| QUOTE Thanks | |
![]() Member Since: Sep 30, 2007
Location: Wilmington, NC
Posts: 5,787
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: iMac i3 (mid-2010) + OS 10.8; TV 2; iPhone 4S; iPad 1
|
Quote:
SSH in Mac OS X |
|||||
| QUOTE Thanks | ||||||
![]() Member Since: Jul 07, 2011
Posts: 3
![]() |
Thx for the link. That did not quite help though for what I was looking for. Basically for me to get what I needed to work in the shell this is what I used.
for i in `perl -le '$i=0; print $_foreach ($i .. $;+XX);'`; do echo $i ; oasascript -e 'tell application "Terminal" to do script "ssh root@xx.xx.xx.'$i'" '; done That basically got what I needed. Hope this helps for anyone else who is looking for the same thing. |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| 13" MacBook Running Really Hot With Few Processes Running | nives | Apple Notebooks | 5 | 05-21-2010 09:57 AM |
| Multiple displays in virtual box | NyoGoat | Running Windows (or anything else) on your Mac | 0 | 04-07-2010 05:48 PM |
| Question: Running Multiple DVI displays.... Anyone Do this?? | gpguy25 | Apple Notebooks | 1 | 03-24-2010 03:54 AM |
| Running LS On Multiple Macs ??? | musicmad | Music, Audio, and Podcasting | 5 | 03-16-2010 05:39 AM |
| Configuring Multiple Web Sites with single IP on web server running Snow Leopard | Runner NYC | Web Design and Hosting | 3 | 03-09-2010 11:18 AM |
All times are GMT -4. The time now is 02:59 PM.
Powered by vBulletin