scp - shell

Advertisement

hernanjk
Guest

scp - shell

1) Can Winscp accept stacked shell commands - example: sudo su - name;bin/ksh
2) Can the 'DEFAULT' shell enviornment be set to bin/ksh without creating a session?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: scp - shell

hernanjk wrote:

1) Can Winscp accept stacked shell commands - example: sudo su - name;bin/ksh
The command is interpreted by the server. So that depends on server.
However the syntax would typically be like:
sudo su - name -c /bin/ksh
See also FAQ.

2) Can the 'DEFAULT' shell enviornment be set to bin/ksh without creating a session?
See Set defaults on Login dialog.

Reply with quote

Advertisement

You can post new topics in this forum