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 ssh's "-W" option instead of "/bin/nc" #46

Open
grigutis opened this issue Oct 1, 2018 · 0 comments
Open

Use ssh's "-W" option instead of "/bin/nc" #46

grigutis opened this issue Oct 1, 2018 · 0 comments

Comments

@grigutis
Copy link
Contributor

grigutis commented Oct 1, 2018

Consider this an enhancement request…

In reading the man page for ssh-copy-id, I found this tidbit:

N.B. the modern approach is to use the -W option, rather than nc

I don't know if this has any other benefits (or drawbacks), but it does eliminate a dependency on nc.

To implement this, the connect.applescript would need to replace all instances of /bin/nc %h %p with -W %h:%p.
admin-wrapper.sh also references /bin/nc, but I'm less sure how best to change that. Maybe that testCmd could be eliminated altogether.

Just something to think about.

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

No branches or pull requests

1 participant