luciopaiva / itermoxyl

Tool to automatically open multiple ssh connections in iTerm2 by querying ~/.ssh/config.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

script tries wrong names as hostname

mayeter opened this issue · comments

Hi, I don't know if you are still maintaining this script, but I got a problem like this:

This is my config file:

Host mk-punb-linfr01
    Hostname 10.0.0.1
Host mk-punb-linfr02
    Hostname 10.0.0.2
Host mk-punb-linfr04
    Hostname 10.0.0.3
Host mk-punb-linfr05
    Hostname 10.0.0.4
When I call the script:

root@localhost ~ % ./itermoxyl mk
Will open the following terminal panes:

- mk-punb-linfr01
- mk-punb-linfr02
- mk-punb-linfr04
- mk-punb-linfr05

Number of panes to open: 4
Press 'y' to continue (or any other key to abort): y

But it tries to execute ssh with the names I defined these hosts, not with the ip address:

image