Forum / Remote Desktop Manager - Beta

SSH (Putty) Remote Command

I am trying to emulate the functionality of the "Remote Command" SSH option in putty without using a stored session. The "After Login Commands" aren't working and I have tried using the "Advanced/Other Parameters" (-m %HOMEDRIVE%\%HOMEPATH%\path\to\screen.txt, screen.txt contains "screen -raAd" without the quotes) with no luck.

When looking at the debug log and using the Other Parameters option, I see the command being issued to the server, but the server is rejecting it. It doesn't reject it when set at indicated below.


image

<Putty>
<Application>Configured</Application>
<Host>ssh.example.com</Host>
<Other>-m %HOMEDRIVE%\%HOMEPATH%\path\to\screen.txt</Other>
<Port>22</Port>
<PortFowardingArray />
<ProtocolType>SSH</ProtocolType>
<Scripting />
<ScriptingDelay>2000</ScriptingDelay>
<TelnetEncoding>IBM437</TelnetEncoding>
<TerminalName>screen-256color</TerminalName>
<UseSession>false</UseSession>
</Putty>

Clock7 yrs

Hi,
You should try to test it directly with the Putty command line. If it works in command line ,we will be able to integrate it.

David Hervieux

signaturesignature

Clock7 yrs

Have you tested with Putty command line already? Did it work?

Clock6 yrs