This is an old revision of the document!

Remote Commands

WinSCP offers unique feature to execute command on remote server as with regular SSH terminal client. However as it does not implement the terminal fully, you can execute only commands that does not require user input.1

Basically the feature is supported only for SCP protocol. With SFTP you can still use the feature by opening separate shell session, which in fact takes place automatically for you.

Advertisement

How to Enter the Remote Command

You can enter the command on Console window (Commands > Open Terminal).

If you are using Norton Commander interface you can also enter the command on command-line box below the panels.

If you want to have full featured terminal, you may find command Open In PuTTY useful.

Custom Commands

If there is command you need to execute regularly and in particular if the command works with files, you can find custom commands useful.

  1. If you happen to execute command that requires user input, WinSCP will eventually timeout waiting for command to finish and you will need to reconnect your session.Back

Last modified: by martin