Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

chewy1101

unable to use sudo on Solaris 10

Hello,

I'm having trouble using sudo to connect to SunOS 5.10 through my WinSCP 5.5.6. I have no problem connecting through putty then running the sudo su - "xxxx" (where xxxx is the sudo id) command to connect the sudo id. However, when I try to setup my WinSCP to connect through SCP or SFTP protocol, I'm not able to.

Here are few attempts I done:

Attempt-1:
.WinSCP File Protocol: SCP,
.Advanced Setting:Environment:SCP/Shell: sudo su - xxxx
.All other settings are default
Results: Error, Connection has been unexpectedly closed. Server sent command exit status 127. Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).

Attempt-2:
.WinSCP File Protocol: SFTP,
.Advanced Setting:Environment:SFTP: SFTP server: Default
.Advanced Setting:Environment:Shell: Shell: sudo su - xxxx
.All other settings are default
Results: I can login fine, but when i try to access 'xyz' directory I get error. Error, Error listing directory '/abc/xyz'. Permission denied. Error code: 3. Error message from server: Permission denied.



Any Help from anyone is appreciated