wouterdebie / i2cssh

csshX like ssh tool for iTerm2
MIT License
547 stars 68 forks source link

Question: can new windows inherit env vars of source window? #143

Open ppi-agray opened 5 months ago

ppi-agray commented 5 months ago

When I run i2cssh -m i-0522b3e10e176a090, I would like the target window to inherit the env vars of where I called it.

The reason being I have AWS access and secret keys that allow me to ssh onto instance IDs, not IP addresses.

But the target window doesn't have those env vars, and thus fails.

It would be awesome if the target window inherits the env vars from the terminal that launched it.

Thanks!