Is there any way of remote handling your unix files like a local folder on a Windows Machine?


Recommended Posts

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?

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

  • Like 2

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 ;)

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 :)

  On 27/09/2019 at 10:11, 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 ;)

Expand  

yeah nano is alright as an editor but VI (and VIM by extension) is king for terminal editors (Y)

  On 27/09/2019 at 13:30, 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 (Y)

Expand  

This is how I would do it as well. Pretty handy with my custom openwrt builds. 

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Minor update.  All is going well for the most part.  Picked up some new information today though from my server logs. Just discovered a new #ByteDance scraper's useragent; imageSpider.  More specifically: "Mozilla/5.0 (compatible; imageSpider; scrapedia-receive@bytedance.com)" Added to my list. I'm also adding #Alibaba IP ranges to a "drop" rule on my firewall because they've aggressively scraping me (hundreds of thousands of requests per day), but they're not using accurate user agents.  They're ignoring robots.txt (big surprise) and pretending to be everything from Chrome 114 to Internet Explorer 6 and not self identifying as a bot.
    • TLDR: Doom 2016 style reboot, which is what we have been asking since Bungie announced this "reboot"
    • I'm gonna take the bait but here we go: It's closed source as far as Linux goes but it is not locked to the Steam as a gaming platform. Yes, you need a Steam account to start using SteamOS, but after that you can use whatever Linux compatible launcher you want, ie Heroic or Lutris It doesn't need an antivirus, it's Arch Linux. Anticheats work, depending on the game and publisher. Many games with EAC work. None with kernel level malware anticheat work, and they should NOT work on Windows either (MS really needs to block this). It is compatible with Linux applications, Flatpak applications. You can also enable regular Pacman/AUR yourself. It's disabled, not removed, out of the box to protect the OS from you But surely you do know you don't have to use SteamOS on the Steam Deck, right?
    • Preparation of bringing subscription model to WhatsApp. Pathetic and greedy.
    • Doing that has only worked for me with the Enterprise version.
  • Recent Achievements

    • Week One Done
      Peterlll06 earned a badge
      Week One Done
    • One Month Later
      gatilogistic earned a badge
      One Month Later
    • One Year In
      Custom Greek Shirts earned a badge
      One Year In
    • One Month Later
      Custom Greek Shirts earned a badge
      One Month Later
    • Week One Done
      Custom Greek Shirts earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      673
    2. 2
      ATLien_0
      281
    3. 3
      Michael Scrip
      222
    4. 4
      +FloatingFatMan
      190
    5. 5
      Steven P.
      145
  • Tell a friend

    Love Neowin? Tell a friend!