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.
Send commands to server without shell?
Re: Send commands to server without shell?
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.
I tried to specify none for the terminal type but it did not work.
Re: Send commands to server without shell?
Now TScSSHShell does not provide such functionality, but we will consider the possibility of supporting it in the future.