Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Before, I only ever had shared hostings, which usually come with cPanel or Plesk. Both of which are great.
Now I have a cloud server with Ubuntu 20.04
nano is a great tool, but I would prefer to use something a bit more sophisticated.
Turbocapitalist told me to avoid using graphical interfaces on the server.
On my localhost, I use Bluefish.
Is it possible to open edit and save remote files using Bluefish?
Or is there some other cool tool?
EDIT: It's amazing! I use Filezilla to upload files to the server.
I found, if I right click in Filezilla, I can open a file from the server in Bluefish on my local machine, edit it, save it and Filezilla will re-upload!
FWIW, I usually use sshfs do locally mount the remote filesystem, then edit and move/delete files with my usual GUI tools.
In 7 years of maintaining two servers I have never used filezilla.
I second the recommendation for using sshfs for that. However, it should be mentioned that Bluefish has an upload/download function, with the same for normal Save As, at least on one desktop I have.
File -> Save As -> Other Locations -> Connect to Server -> sftp://pedroski@www.example.com/
They both seem to use the basic file manager for operations, so it may be different on a different desktop setup. You'll have to check.
Edit: Open will also work with remote connections like that.
Last edited by Turbocapitalist; 11-13-2021 at 01:25 AM.
a) you're trying to access the root folder /. That's wrong. You probably want your remote $HOME (make a symlink to /var/www in your remote $HOME).
b) you need to specify the port if it isn't 22.
I also wonder why you use an identity file yet it still asks for your password. But that's a separate problem.
As far as I understand it, this: pedro@123.456.789.123:22000/ should get me to the $_SERVER['DOCUMENT_ROOT'], which is public_html.
The port for this server is 22000
I tried using the port number in the command. The first time it asked for my password, but still gets: "read: Connection reset by peer"
Repeated attempts just give: "read: Connection reset by peer"
I tried this:
Quote:
pedro@pedro-HP:~$ sshfs -o allow_other,default_permissions,IdentityFile=/home/pedro/.ssh/my_cloud_ed25519 pedro@123.456.789.123:22000/ /mnt/mywebpage.com
fusermount: user has no write access to mountpoint /mnt/mywebpage.com
So made a folder in my home directory: mywebpage.com
Quote:
pedro@pedro-HP:~$ sshfs -o allow_other,default_permissions,IdentityFile=/home/pedro/.ssh/my_cloud_ed25519 pedro@123.456.789.123:22000/ /home/pedro/mywebpage.com
fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.