[Gambas-bugtracker] Bug #2289: Using gb.util prompt/expect with ssh client
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Mon Jun 28 13:13:46 CEST 2021
http://gambaswiki.org/bugtracker/edit?object=BUG.2289&from=L21haW4-
Abdul ZAGIROV reported a new bug.
Summary
-------
Using gb.util prompt/expect with ssh client
Type : Bug
Priority : Medium
Gambas version : 3.16
Product : Networking components
Description
-----------
I would like to know whether anyone had success with connecting to ssh server (or telnet) using expect/prompt from Process class that is in gb.util component (beginning with Gambas 3.15)? I myself tried but with no success. Any working example would be appriciated!
System information
------------------
[System]
Gambas=3.16
OperatingSystem=Linux
Kernel=4.19.0-16-amd64
Architecture=x86_64
Distribution=debian 10.9
Desktop=LXDE
Font=Roboto,10
Scale=7
Theme=numix
Language=ru_RU.UTF-8
Memory=7983M
[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.5.0
DBus=libdbus-1.so.3.19.13
GDK2=libgdk-x11-2.0.so.0.2400.32
GDK3=libgdk-3.so.0.2404.1
GStreamer=libgstreamer-1.0.so.0.1404.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2404.1
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.82.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.11.3
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6
[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=LXDE
DISPLAY=:0.0
GB_GUI=gb.gtk3
GDMSESSION=lightdm-xsession
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_MODULES=gail:atk-bridge
HOME=<home>
LANG=ru_RU.UTF-8
LC_ALL=ru_RU.UTF-8
LOGNAME=<user>
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PWD=<home>
QT_ACCESSIBILITY=1
QT_LOGGING_RULES=*.debug=false
SAL_USE_VCLPLUGIN=gtk
SHELL=/bin/bash
SSH_AGENT_PID=6945
SSH_AUTH_SOCK=/tmp/ssh-pFaBIrG3qBir/agent.6920
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg
XDG_CONFIG_HOME=<home>/.config
XDG_CURRENT_DESKTOP=LXDE
XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
XDG_DATA_HOME=<home>/.local/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/<user>
XDG_MENU_PREFIX=lxde-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=lightdm-xsession
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
_LXSESSION_PID=6920
More information about the Bugtracker
mailing list