[Gambas-user] Gambas SSH
Kai
kai at ...1127...
Sun Sep 18 11:47:03 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
after much testing i came up with this:
DIM command AS String
DIM name AS String
DIM pass AS String
DIM ipinfo AS String
'' make ssh connection to remote server
name = txtUserName.Text
ipinfo = txtServerIp.Text
command = "/usr/bin/ssh " & name & "@" & ipinfo
SHELL command
pass = txtPassword.Text
IF command = TRUE THEN
pass
END IF
when im stepping through the code every thing seems to goto plan then at
pass = txtPassword.Text
i get a console showing with the following and im not too sure what to
make of it
Pseudo-terminal will not be allocated because stdin is not a terminal
Any one know what that means ?
Thanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDLTeXw4vrCsJF5ScRAqj1AKDjGCi1PbgtEpjcTk/MuNgJXQUIKwCePc5q
paPbD/7su+cxOJ7/yp2OrBg=
=vohs
-----END PGP SIGNATURE-----
More information about the User
mailing list