Closed chrisagiddings closed 1 year ago
Had the same error as described but my issue was slightly different because I actually had a Default profile still, yet same exact error message. My fix ended up being the same as described in #29 where I had a second copy of the app somehow in my Downloads folder. Once I removed the second copy of the app I no longer received this error.
ISSUE
I removed the
Default
profile in iTerm2 because it didn't suit my needs. The following error is received:ATTEMPT
Changing this value on
line 194
in the indicated file:/Library/Ruby/Gems/2.3.0/gems/i2cssh-2.2.0/bin/i2cssh
, and I did not see another occurrence of the "Default" profile name in this file.I am new to
i2cssh
(hello new friends) but familiar with bothcssh
andcsshX
.ENVIRONMENT
10.13.2
)i2cssh v2.2.0
2.3.3p222
(2016-11-21revision 56859
)[universal.x86_64-darwin17]
This is a fresh install of
i2cssh
with no custom configuration yet in place.RECOMMEND
I recommend having
i2cssh
select the first profile in the iTerm(2) configuration file if it finds the "Default" profile does not exist.If
i2cssh
cannot find any available profile, perhaps it could break out more gracefully.As a note, my remote machines all have various profiles assigned, so the profile with auto-switch once I am logged in… so the initially loaded profile doesn't matter.
WORKAROUND
Specifying the
-p
argument and a valid profile name (Local
in my case) works as designed and opens a new window with multiple panes.localhost% i2cssh -p Local rpsdev rpsdevb