HorlogeSkynet / SSHubl

:technologist: A Sublime Text 4+ plugin for your SSH connections
https://packagecontrol.io/packages/SSHubl
GNU General Public License v3.0
3 stars 0 forks source link

Implements interactive connection command (through Terminus) #25

Closed HorlogeSkynet closed 1 day ago

HorlogeSkynet commented 2 months ago

This PR provides an alternative way to connect to hosts, which relies on Terminus, for SSH connections requiring "interactivity" (FIDO challenge, PIN, OTP, ...).

When (if) Win32-OpenSSH supports "control master" feature (see https://github.com/PowerShell/Win32-OpenSSH/issues/1328), SSHubl will eventually be compatible with Windows platform.

d3vyce commented 2 months ago

@HorlogeSkynet

reloading plugin SSHubl._logging
reloading plugin SSHubl.main
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text\Lib\python38\sublime_plugin.py", line 325, in reload_plugin
    m = importlib.import_module(modulename)
  File "./python3.8/importlib/__init__.py", line 127, in import_module
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 868, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\d3vyce\AppData\Roaming\Sublime Text\Packages\SSHubl\main.py", line 29, in <module>
    from .sshubl.commands import (  # type: ignore[import-untyped]  # pylint: disable=unused-import
  File "C:\Users\d3vyce\AppData\Roaming\Sublime Text\Packages\SSHubl\sshubl\commands.py", line 12, in <module>
    from .actions import (
  File "C:\Users\d3vyce\AppData\Roaming\Sublime Text\Packages\SSHubl\sshubl\actions.py", line 17, in <module>
    from .ssh_utils import (
  File "C:\Users\d3vyce\AppData\Roaming\Sublime Text\Packages\SSHubl\sshubl\ssh_utils.py", line 19, in <module>
    import pexpect.pty_spawn
  File "C:\Users\d3vyce\AppData\Roaming\Sublime Text\Lib\python38\pexpect\pty_spawn.py", line 4, in <module>
    import pty
  File "<frozen zipimport>", line 259, in load_module
  File "./python3.8/pty.py", line 12, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "./python3.8/tty.py", line 5, in <module>
ModuleNotFoundError: No module named 'termios'