Author Topic: Notes for Nov. 4/19 Meeting: Remote Access  (Read 1585 times)

0 Members and 1 Guest are viewing this topic.

Offline Jason

  • Administrator
  • Master
  • *****
  • Posts: 3772
  • Humanist. Skeptic. Husband.
Notes for Nov. 4/19 Meeting: Remote Access
« on: November 05, 2019, 11:53:36 am »
Here's the notes from the presentation showing to login to a remote Linux box from a local Linux box. It uses OpenSSH.

I've attached the file in .odt format, and a link to the live document on Google Docs. Feel free to suggest fixes to any errors or typos you have found. I will look at them, fix the document if necessary and update the attachment here to reflect the new document.

Google Doc link - you can make suggestions for errors or updates at this link:
https://docs.google.com/document/d/1M-VWDc3zpVhmIpEz_CY_gjeyVWww03uVxXL8okMYmdk/edit?usp=sharing

I'm not sure if you need a Google account to make suggestions. You'll have to try it out and let me know.
« Last Edit: November 06, 2019, 10:22:29 am by Jason Wallwork »
"With all its sham, drudgery, and broken dreams, it is still a beautiful world." - Max Ehrmann, Desiderata

Offline Jason

  • Administrator
  • Master
  • *****
  • Posts: 3772
  • Humanist. Skeptic. Husband.
Links to more information
« Reply #1 on: November 05, 2019, 11:55:13 am »
Here are some links that cover the presentation and might go beyond it. The last link shows you now just how to do graphical logins but also how to do it in VNC which may be a lot more useful. These links are also included in the attached document above and in the live document:

https://www.tecmint.com/install-openssh-server-in-linux/

https://phoenixnap.com/kb/ssh-to-connect-to-remote-server-linux-or-windows

https://blog.ssdnodes.com/blog/remote-linux-desktop-vps-ssh-vnc/
« Last Edit: November 05, 2019, 12:00:04 pm by Jason Wallwork »
"With all its sham, drudgery, and broken dreams, it is still a beautiful world." - Max Ehrmann, Desiderata

Offline fox

  • Member
  • Master
  • *
  • Posts: 1979
Re: Notes for Nov. 4/19 Meeting: Remote Access
« Reply #2 on: November 05, 2019, 01:31:08 pm »
Thanks for your presentation last night, Jason, and for supplying the meeting notes and links. I was quite interested in the use of OpenSSH, but had some trouble following the details with all the open windows. Your notes should help clarify things. I think of OpenSSH, Nextcloud and Open Media Vault as related products when it comes to file sharing, servers and remote access. Now that I know something about OpenSSH and OMV, I'll be interested in your next PLUG presentation to see how Nextcloud compares to the other two; what it offers that those don't.
Ubuntu 21.04 on 2019 5k iMac
Ubuntu 20.04 on Dell XPS 13 2 in 1

Offline Jason

  • Administrator
  • Master
  • *****
  • Posts: 3772
  • Humanist. Skeptic. Husband.
Re: Notes for Nov. 4/19 Meeting: Remote Access
« Reply #3 on: November 06, 2019, 01:56:41 am »
You're welcome.

When you login to a remote box using OpenSSH, files are not being shared. OpenSSH doesn't even have a graphical interface. But you can forward other interfaces like we saw at the meeting where we forwarded the xfce4 desktop to show up on the local machine. It's like we projected the desktop environment from the remote box to the local box.

Although OpenSSH, OMV and NC might be able to do some similar things, comparing OpenSSH to those two is like comparing apples and oranges.

OpenSSH isn't meant for sharing files. It's meant for no holds barred full access. Once you're logged in, you could delete every single file on the remote box. You could write shell scripts, you can install, update or remove packages. You don't just "see" the files on the remote machine with OpenSSH, you're logged into the remote machine and have all the same powers as if you were logged into it locally.

OMV and NC are meant for being repositories of files, usually documents or media files. OpenSSH can only share files via SFTP (Secure FTP) but it does so so much more than that.

OpenSSH is remote access software that let's you do anything you want to the server, OMV and NextCloud are essentially file servers. That's a huge difference.
For example, when I ssh to the PLUG server that runs this SMF-based forum, and the front pages of the site (Drupal-based), I have full power. You can't configure the PLUG webserver using OMV or NC. They would be primarily used to have a group-shared directory of media files accessible over the internet via a web browser (assuming OMV does, I'm pretty sure that NextCloud does).

There's no comparison between file/media servers and a remotely accessed shell. It's not a case of comparing which has better features because they do very different things.
 OpenSSH is about controlling remote boxes entirely.

OMV and NC are about sharing files on a remote server using a web browser.
They can work in concern or separately. For example, you could use ssh to login to an remote box with OMV on it and turn OMV off or even shut down or restart the machine.

Because OpenSSH connects you to a terminal so you can do anything you normally can do in a terminal. With OMV or NC you're limited to what the interface is written to allow you to do and it's limited compared to what the terminal offers. Openssh essentially gives you full terminal access.

If you were to compare other software to OpenSSH, then you'd choose, for example, VNC or RDP which are other ways of getting remote access to a box.

Hopefully, that's more clear.
« Last Edit: November 06, 2019, 01:59:28 am by Jason Wallwork »
"With all its sham, drudgery, and broken dreams, it is still a beautiful world." - Max Ehrmann, Desiderata