Re: SSH remote command from XP host
On 02/13/2013 02:41 PM, Muhammad Yousuf Khan wrote:
> i am normally controlling my servesr via putty from XP host. all of
> our servers are X terminal server (means no GUI) to reduce my
> dependency i want to create a script on desktop of other user(s) XP
> clients so they can run it from there system by just double clicking
> that script, for example backup and gateway change etc when necessary
> or needed.
>
> please suggest!.
>
> Thanks,
>
>
You can tie a key to a specific script. That is done on the server
side, by editing the appropriate line in ~/.ssh/authorized_keys See the
manual page for sshd in the section AUTHORIZED_KEYS FILE FORMAT in the
paragraph about "command=" for details.
Regards,
/Lars
Reply to: