Micro: Editing remote files

Created on 3 Oct 2020  路  5Comments  路  Source: zyedidia/micro

Good afternoon!

Can I use micro to edit remote files on another computer like in vim?

Thank you in advance for your reply.

Most helpful comment

I think the best method would be to use sshfs, or use a different editor that supports remote editing. I think this is a pretty niche case, and I don't see much reason for micro to support remote editing like this, when other more appropriate tools can be used.

All 5 comments

Micro does not support remote editing from within the editor, but since it is terminal-based you can use it from inside an ssh connection where micro is running on the remote computer. I think this is often an even more convenient way of doing remote editing.

To do this, I need to install a micro on each machine, which is not always possible. For example, I cannot install micro on my openwrt router because it runs out of free space.

You can use sshfs or something like that.

Hi, micro can load text from stdin. Would that be a way around this problem? Piping something from remote to your local editor, then pushing back out somehow. Just throwing an idea out! Not too sure about the technical details

I think the best method would be to use sshfs, or use a different editor that supports remote editing. I think this is a pretty niche case, and I don't see much reason for micro to support remote editing like this, when other more appropriate tools can be used.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Mohamed3on picture Mohamed3on  路  3Comments

Rbagman picture Rbagman  路  4Comments

DoTheEvo picture DoTheEvo  路  3Comments

AndreyTheHacker picture AndreyTheHacker  路  3Comments

nabeelomer picture nabeelomer  路  4Comments