Topic "unable to use sudo on Solaris 10"

Author Message
[View user's profile]

Joined: 2015-03-14
Posts: 1
Location: US

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:

.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).

.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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
Did you read this?
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License