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

OpenSSH client drop-in replacement #97

Open
awakecoding opened this issue Mar 11, 2024 · 0 comments
Open

OpenSSH client drop-in replacement #97

awakecoding opened this issue Mar 11, 2024 · 0 comments

Comments

@awakecoding
Copy link

I maintain my own OpenSSH distribution and wonder if ssh-rs could be more than a library, and also include a drop-in replacement for the OpenSSH client ("ssh" executable) supporting the original command-line interface. This could become very useful in specific scenarios like PowerShell Remoting over SSH where the OpenSSH client CLI is expected.

usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
           [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
           [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
           [-i identity_file] [-J [user@]host[:port]] [-L address]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-Q query_option] [-R address] [-S ctl_path] [-W host:port]
           [-w local_tun[:remote_tun]] destination [command]

There are a lot of options in the command-line interface, but this would also require parsing the same configuration files, etc. However, by making an OpenSSH compatibility layer over ssh-rs, it would make it much easier to try without tweaking and building the current samples.

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