Send commands to server without shell?

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Send commands to server without shell?

Post by snorkel » Wed 25 Jun 2014 20:24

Hi,
I need to send commands to the server but when I use the shell component the remote host does not allow a shell and if it detects one it disconnects.

I can get it working in putty plink.exe like this:

plink -ssh -t [email protected] changepass
[email protected]'s password:
Enter current password:
Password1
Enter new password:
Password2
Enter new password again:
Password2
Password changed.

I also tried the channel component in direct mode but it does not like it when I specify the dest host and port.

snorkel
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Re: Send commands to server without shell?

Post by snorkel » Thu 26 Jun 2014 15:25

What I mean is it possible to use the shell componenet so it does not use a TTY?
I tried to specify none for the terminal type but it did not work.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: Send commands to server without shell?

Post by Dimon » Fri 27 Jun 2014 15:13

Now TScSSHShell does not provide such functionality, but we will consider the possibility of supporting it in the future.

Post Reply