xenoscopic / xeno

Synchronous remote file editing using SSH and Git
Other
94 stars 11 forks source link

xeno edit adds extra username if specified in `~/.ssh/config` #13

Closed xenoscopic closed 10 years ago

xenoscopic commented 10 years ago

If a username is specified for a given hostname in ~/.ssh/config, and then respecified in a xeno edit invocation, it seems to appear twice, e.g.:

user@user@host:/path

Need to figure out why this happens. Not a show stopper in any case.

adamwtow commented 10 years ago

Hi, I am wondering how to get around this bug? I am looking to run xeno stop 1 and even after temporarily deleting my ~/.ssh/config file I still get asked to enter my password for user@user@host?

xenoscopic commented 10 years ago

Actually, turns out this had nothing to do with ~/.ssh/config, I had just used a single quote where I should have used a double quote. Should be fixed by 5a35ae50f2 and 0f58f9a167, with tests updated appropriately.

adamwtow commented 10 years ago

Awesome! Thank you!