MariosX Posted September 27, 2019 Share Posted September 27, 2019 Hello! I'm learning about Linux System Administration. I have a Ubuntu 16.04 Server LTS, there's no GUI (I don't need one anyway) and I'm handling everything from a terminal and because I have to do "file hunting" and handling, for me terminal is not speedy enough. For example let's say I want to configure my Bind9 DNS settings, the main configurations are: ``` /etc/bind/named.conf /etc/bind/named.conf.options /etc/bind/named.conf.local ``` so I'll have to do: ``` nano /etc/bind/named.conf nano /etc/bind/named.conf.options nano /etc/bind/named.conf.local ``` as long as I am logged in as root, if not logged in as root I'll have to use sudo as well. and I've been thinking wouldn't it be nice, if there was any way to have remote access to all of my files in server? For example: I would like to use my Windows Machine and Visual Studio Code and treating those Linux files like they are a folder on my C:\ Is it possible? Link to comment https://www.neowin.net/forum/topic/1387514-is-there-any-way-of-remote-handling-your-unix-files-like-a-local-folder-on-a-windows-machine/ Share on other sites More sharing options...
DaveLegg Developer Posted September 27, 2019 Developer Share Posted September 27, 2019 Visual Studio Code has an extension that allows you to connect to a Linux machine via SSH and work remotely: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh +DonC and TheReaperMan 2 Share Link to comment https://www.neowin.net/forum/topic/1387514-is-there-any-way-of-remote-handling-your-unix-files-like-a-local-folder-on-a-windows-machine/#findComment-598485954 Share on other sites More sharing options...
+BudMan MVC Posted September 27, 2019 MVC Share Posted September 27, 2019 You can mount a share from linux with your fav file sharing protocol, smb, nfs Be careful with editing linux files in windows though.. What editor you going to be using? Windows has its own format for text file and you could screw them up If your learning about linux, I would use linux via term vs mounting the linux and editing with your windows tools though.. You should prob be using vi vs nano as well Link to comment https://www.neowin.net/forum/topic/1387514-is-there-any-way-of-remote-handling-your-unix-files-like-a-local-folder-on-a-windows-machine/#findComment-598485955 Share on other sites More sharing options...
Brandon H Supervisor Posted September 27, 2019 Supervisor Share Posted September 27, 2019 you could install a SSH/SCP server so then you could use WinSCP to connect with editing privileges. This is how I edit configs that don't have a luci app on my router running OpenWRT 3 hours ago, BudMan said: If your learning about linux, I would use linux via term vs mounting the linux and editing with your windows tools though.. You should prob be using vi vs nano as well yeah nano is alright as an editor but VI (and VIM by extension) is king for terminal editors Link to comment https://www.neowin.net/forum/topic/1387514-is-there-any-way-of-remote-handling-your-unix-files-like-a-local-folder-on-a-windows-machine/#findComment-598485981 Share on other sites More sharing options...
adrynalyne Posted September 27, 2019 Share Posted September 27, 2019 1 hour ago, Brandon H said: you could install a SSH/SCP server so then you could use WinSCP to connect with editing privileges. This is how I edit configs that don't have a luci app on my router running OpenWRT yeah nano is alright as an editor but VI (and VIM by extension) is king for terminal editors This is how I would do it as well. Pretty handy with my custom openwrt builds. Link to comment https://www.neowin.net/forum/topic/1387514-is-there-any-way-of-remote-handling-your-unix-files-like-a-local-folder-on-a-windows-machine/#findComment-598486013 Share on other sites More sharing options...
DentedAphid7 Posted September 30, 2019 Share Posted September 30, 2019 Maybe set up a samba profile and let WinSCP/Filezilla connect? Link to comment https://www.neowin.net/forum/topic/1387514-is-there-any-way-of-remote-handling-your-unix-files-like-a-local-folder-on-a-windows-machine/#findComment-598486459 Share on other sites More sharing options...
Recommended Posts