10

I need a program that can manage files on a remote device running Linux using SCP. The remote device runs OpenWrt. On Windows there is a perfect one WinSCP. it is weird that there is no native program that can be used.

The program should be able to:

  • list files
  • copy and move files to/from the device and within the device.
  • delete files on the device
  • view and edit files
  • change file permissions

I have found only one alternative, except using CLI and installing WinSCP with wine.

It is Midnight Commander with fish. It works really poor. The problems are:

  1. It mixes up ~ on a remote device and on the computer.
  2. It can't edit files. I can open and edit, but they are saved to a wrong place.

There is a lot of other annoying problems that makes it almost unusable. I gave up using mc and now I am using pure shell on the remote device.

Please do not tell me that Nautilus, etc support these features. They don't!!!

Linux native file managers require SFTP that is not available on the remote device.

Maybe it is possible to get nautilus use SCP, but I did not find a way of doing it without changing sources.

THIS IS NOT A DUPLICATE !!!

I have a specific requirement that is not covered in the duplicate question.

If it is not possible on Ubuntu, then this could be an answer.

  • Comments are not for extended discussion; this conversation has been moved to chat. – Thomas Ward Mar 2 '17 at 2:23
  • Related (but no valid answer): GUI SCP Client? – David Foerster Mar 5 '17 at 8:13
  • GUI is not specifically required. It can be a terminal client. It is not very hard to write one. If Shell connection in MC worked better, it would be a perfect solution. – Pilot6 Mar 5 '17 at 8:16
1

Update : The problem here is that openwrt does not support linux clients without installing the sftp server.

See https://wiki.openwrt.org/doc/howto/sftp.server

openwrt has no intention of resolving this, see https://trac.cyberduck.io/ticket/4161

So, from the first link, the solution , server side, is to install openssh-sftp-server

opkg update
opkg install openssh-sftp-server

You can then use any number of graphical clients or sshfs - see What is a program similar to WinSCP? and What is a program similar to WinSCP?

Alternate is to use winscp with wine

sudo apt-get install wine
wine winscp.exe
  • 2
    That is wrong. Openwrt has SCP server. It does not have SFTP server. – Pilot6 Feb 28 '17 at 21:15
  • The problem that I can't use SCP server on Ubuntu, except pure CLI. I can type scp commands in a terminal and do whatever I want, but there is no program that can do it. It can be a terminal prog, not a GUI. – Pilot6 Feb 28 '17 at 21:16
  • I ask a question how to do it without using SFTP, Everyone tells me that I should use SFTP and VTC as a duplicate. – Pilot6 Feb 28 '17 at 21:18
  • 1
    My question is 100% valid and is not a duplicate, even if it does not have a positive answer. – Pilot6 Feb 28 '17 at 21:24
  • 1
    The point of the answer is that "no, there isn't, and these are your options." – dobey Feb 28 '17 at 22:03
-1

Mount external server using sshfs

After that, it is mounted to your filesystem, you can use any file browser of your choice.

Example:

sshfs user@server:/directory ~/remote_directory

To automate the process, add an entry in fstab

sshfs#user@server:/directory /home/your_local_user/directory fuse idmap=user 0 0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.