elfmz / far2l

Linux port of FAR v2
GNU General Public License v2.0
1.79k stars 173 forks source link

NetRocks SCP missing "Shell" parameter #1993

Open LanThrusteR opened 9 months ago

LanThrusteR commented 9 months ago

When SCP is chosen as a protocol there should be "Shell" option in Protocol Options in which a user could choose a shell or a command or whatever. This parameter is critical for some environments and one of this is when root logins are prohibited by sever configuration but sudo is configured at the server for a particular user so you need to set

sudo /bin/bash

as SCP shell but there seems to be no way of doing it with the current NetBricks a very sad finding in otherwise perfect MC alternative. Great project, keep it going, FAR2L is way better than MC.

elfmz commented 9 months ago

You can find option for sudo under [Protocol options] button

LanThrusteR commented 9 months ago

I can't see in 2.5.3-beta, it's missing far2l_protocol_options

elfmz commented 9 months ago

Ah sorry, i though you're about SHELL protocol, that has such option: image

Also sftp protocol has ability to use sudo by specifying custom subsystem: image

So you may consider switching to any of that, until SCP will get such ability

LanThrusteR commented 9 months ago

Thanks for a workaround.