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

Terminal plugin improvements #100

Open
2 of 4 tasks
0lvin opened this issue May 15, 2018 · 1 comment
Open
2 of 4 tasks

Terminal plugin improvements #100

0lvin opened this issue May 15, 2018 · 1 comment

Comments

@0lvin
Copy link
Contributor

0lvin commented May 15, 2018

@0lvin
Copy link
Contributor Author

0lvin commented Nov 22, 2018

Support ssh shell extension in terminal plugin

As advantage we can remove filtering and search command prompt.

>>> import paramiko
>>> ssh = paramiko.SSHClient()
>>> ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
>>> ssh.connect('localhost', username='root', password="root")
>>> chan = ssh.get_transport().open_session()
>>> chan.get_pty()
>>> chan.exec_command('sleep 60')
>>> chan.closed
False
>>> chan.recv(80)
''
>>> chan.closed
True

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

No branches or pull requests

1 participant