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

    • Weird how some people don't need to crash 7 rockets before they get it right.
    • Or it's a bug that can easily be fixed with an update. My guess is the limitation is there to prevent game makers from doing dumb things like having a racing game constantly rumble while the car is in motion. Sounds like the threshold or detection needs to be tweaked if it is triggering for no reason.
    • Nice I guess. Azure's DaaS feature has supported that for years. It's so odd to me how MS is deploying Azure and 365 DaaS as two totally different services with different features. I would think the 365 cloud desktops would just be a slightly dumbed down frontend that manages the same service.
    • Oh and gaming on a PC cost way more. To get PS5 Pro performance on a PC it will cost you more, especially with the crazy GPU costs today. While you can play Last of US and Horizon, finally, you cant play GT7 unless you have a PS5 (other games as well).
    • IT admins will soon be able to provision cloud apps rather than entire Windows 365 Cloud PCs by Usama Jawad As we discussed earlier, Windows 365 Cloud PC is a neat way to access virtualized operating systems without getting access to physical hardware. It makes it much easier to work in hybrid or remote environments using hardware and software managed on the cloud by your organization. However, Microsoft is making this process even more convenient with a private preview for Windows 365 Cloud Apps. In its announcement, Microsoft has revealed that it is testing a way to deliver individual apps to users securely via Windows 365, instead of having an entire Cloud PC provisioned for them. It is important to note that these apps will still be hosted on the Cloud PC, a user just won't need access to a dedicated Cloud PC. Microsoft believes that this improved way of app delivery will facilitate seasonal and remote workers by getting them access to just the line-of-business (LOB) apps that they require, while also offering centralized and simplified management capabilities. Importantly, Redmond believes that this will facilitate migration from on-prem virtual desktop infrastructure (VDI) to the cloud too. Deploying this new experience is fairly straightforward for any IT admin who has prior experience with setting up Windows 365. They will need to select an "app-only" experience during the configuration process instead of the full desktop mode and then control the licenses and app access. During this private preview period, only apps available in the Start menu of the gallery or custom images are supported, but more types of apps will be supported for streaming as we get closer to general availability (GA). On the end-user side, customers with Cloud Apps provisioned for them will be able to launch them from the Windows App gateway. Any security policy that applies to the associated Cloud PC will also apply to the Cloud App in use. Microsoft has encouraged those interested in joining the private preview to contact their Microsoft account team or fill in this form. There is no word yet regarding general availability.
  • Recent Achievements

    • Week One Done
      slackerzz earned a badge
      Week One Done
    • Week One Done
      vivetool earned a badge
      Week One Done
    • Reacting Well
      pnajbar earned a badge
      Reacting Well
    • Week One Done
      TBithoney earned a badge
      Week One Done
    • First Post
      xuxlix earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      671
    2. 2
      ATLien_0
      284
    3. 3
      Michael Scrip
      223
    4. 4
      +FloatingFatMan
      196
    5. 5
      Steven P.
      137
  • Tell a friend

    Love Neowin? Tell a friend!