Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sshx instead of ssh in cider-select-endpoint #953

Merged
merged 1 commit into from
Jan 19, 2015

Conversation

federkasten
Copy link
Contributor

I modified cider-select-endpoint function to use sshx instead of ssh.

sshx is similar to ssh well. sshx just opens a connection with ssh -t -t host -l user /bin/sh.

This means

  • It tries to avoid any non-standard shell configuration on the remote host
  • It tries to allocate a pseudo tty

So this is useful for users where normal login shell is configured heavily such as it asks them a number of questions when logging in.
This is also useful for users using well-configured .ssh/config and ssh-agent.
(And the official document says Windows users will get some benefit, though I couldn't check it.)

Probably, this change is related to #822.

cf. http://www.gnu.org/software/tramp/

@vspinu
Copy link
Contributor

vspinu commented Jan 19, 2015

I think this change is safe. Thanks.

@bbatsov
Copy link
Member

bbatsov commented Jan 19, 2015

@federkasten Sounds good. Please, mention this in the changelog as well.

Modified cider-select-endpoint function to use sshx instead of ssh.
This change is useful for users using well-configured login shell and ssh-config.
@federkasten
Copy link
Contributor Author

I have modified CHANGELOG.md. Thanks.

bbatsov added a commit that referenced this pull request Jan 19, 2015
Use sshx instead of ssh in cider-select-endpoint
@bbatsov bbatsov merged commit db10301 into clojure-emacs:master Jan 19, 2015
@bbatsov
Copy link
Member

bbatsov commented Jan 19, 2015

👍 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants