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

ssh support #42

Open
maze888 opened this issue Apr 18, 2019 · 7 comments
Open

ssh support #42

maze888 opened this issue Apr 18, 2019 · 7 comments

Comments

@maze888
Copy link

maze888 commented Apr 18, 2019

Hello
What do you think about different telnet, ssh support depending on the compilation options?
Is there an additional plan for ssh support?

@RobSanders
Copy link
Collaborator

RobSanders commented Apr 22, 2019

Our libcli based application (running on Linux) is set as the 'shell' of our users, so it starts running as they log in, whether from Console or ssh.

@RobSanders
Copy link
Collaborator

RobSanders commented Jul 8, 2019 via email

@illukin
Copy link

illukin commented Jul 24, 2023

Hi @RobSanders!
What about your long term goals of making pagination directly into libcli and supports tab completions for options and arguments of commands?

@RobSanders
Copy link
Collaborator

Hi @illukin ,
Pagination support is still a long way off, but tab completors for options and arguments are already in place. Look at the clitest.c code for some example. There are some quirks, but we've been using them in our main product for almost 4 years.

@illukin
Copy link

illukin commented Jul 24, 2023

Ok. Are you still using the approach that you explained above to connect via ssh, but not telnet?

@RobSanders
Copy link
Collaborator

Yes. Been making some improvements on our side for processing sigints as well as sniffing the responses to our commands before doing cli_prints() back to the users. For example, if the CLI side callback issues a command that generates prompts, we currently need to intercept those and 'redisplay' them slightly different back to the user.

@RobSanders
Copy link
Collaborator

Those changes are outside of libcli code.

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

3 participants