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

    • My best decision: SHIFT+DELETE WINDOWS Then Installed Fedora Linux. Now I am a Happy Person
    • I value a game as a whole including graphics. But going backwards in terms of graphics with a game I'm not already invested in (as in something I played and loved in the past and still do) is off-putting. Its a very poor demo trailer if they didn't crank the settings to max that would be ridiculous. Different strokes for different folks i guess, i'm not into slop the trailer and likely game could have been far better, it doesn't it instead looks like it was made on a shoe string budget or with lack of experience. But that could also be down to trying to get it running on low budget/outdated hardware and sacrificing the top end.
    • > Our goal is to ensure that the App Store remains an outstanding opportunity for developers and a safe, trusted experience for our users. There are so many scam apps on the platform that it is hard to believe they are truly interested in having a safe, trusted experience for their users.
    • Google announces upgraded Gemini 2.5 Pro model with enhanced capabilities by Pradeep Viswanathan Google today announced an updated Gemini 2.5 model with several improvements that can be observed in popular AI benchmarks. Google particularly highlighted that the new Gemini 2.5 Preview 06-05 "Thinking" model performs better in coding, math, science, and reasoning. Last month, during Google I/O, Google released an updated version of the Gemini 2.5 Pro model with significant improvements. Today's update builds on the release of the previous month with further enhancements. In addition to benchmark improvements, based on user feedback, this updated Gemini 2.5 Pro model also comes with improved style and structure, which will result in creative and better-formatted responses for end users. You can find the benchmark comparison with other leading AI models below. As you can notice in the above table, this updated Gemini 2.5 Pro preview model is now SOTA (State-of-the-Art) in coding benchmarks like Aider Polyglot. It also scored SOTA performance on GPQA and Humanity’s Last Exam (HLE) benchmarks, which test math, science, knowledge, and reasoning capabilities. In real-world testing, this latest 2.5 Pro model scored 24 points better on LMArena, maintaining its lead, and a 35-point jump on WebDevArena at 1443. Developers can access this latest Gemini 2.5 Pro preview model through the Gemini API via Google AI Studio and Vertex AI. General consumers will be able to access this model via the Gemini app. Google also confirmed that the Gemini 2.5 Pro model will be generally available in a couple of weeks, allowing developers to start using it in production-ready enterprise-scale applications.
    • The Bromance is definitely over! 🤣🤣🤣
  • Recent Achievements

    • Week One Done
      jbatch earned a badge
      Week One Done
    • First Post
      Yianis earned a badge
      First Post
    • Rookie
      GTRoberts went up a rank
      Rookie
    • First Post
      James courage Tabla earned a badge
      First Post
    • Reacting Well
      James courage Tabla earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      419
    2. 2
      +FloatingFatMan
      182
    3. 3
      snowy owl
      181
    4. 4
      ATLien_0
      176
    5. 5
      Xenon
      135
  • Tell a friend

    Love Neowin? Tell a friend!