Jump to content


ssh magic and a "wow" moment for me


  • Please log in to reply
15 replies to this topic

#1 OFFLINE   wa4chq

wa4chq

    Thread Head

  • Members
  • PipPipPipPipPipPip
  • 516 posts

Posted 05 August 2018 - 04:38 PM

Hey all....prior to getting involved with Raspberry Pi I really didn't have a need for using ssh, at least I couldn't think of one.  About two years ago I bought a Pi and started messing with ssh, nothing serious but just accessing pi remotely....I thought that was cool....I'm an old man so stuff like this is cool.  Well, two weeks ago I was trying to figure out how to use the Pi as a music server.  I searched the Pi rag "MagPi" and found many articles about how to do it but it had me jumping through all sorts of hoops and I still couldn't get it to work.  Well ssh saved me.  I learned that I could use sshfs.  As a test, I made a directory on Pi called "Jams" and loaded 3 mp3's there.  Then using my laptop I did:
sshfs -o nonempty pi@192.168.*.*: Jams
Once mounted I execute mocp on my laptop and scroll to "Jams" and start rocking to my favorite Lennon Sisters songs...how cool is that?
Posted Image

Posted Image
REGISTERED LINUX USER #547579


#2 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,889 posts

Posted 05 August 2018 - 04:47 PM

Nice :thumbsup:


SSH has been one of my favorite tools for years. I use it daily to access my headless servers, VPS and other machines. I also use an android app called Termius to ssh into my machines while on the go and use scp to transfer files over ssh.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#3 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,504 posts

Posted 05 August 2018 - 05:44 PM

SSH is FUN! At one time, I had SSH set up between my main system, my workshop system, and two laptops. It was very COOL!

#4 OFFLINE   wa4chq

wa4chq

    Thread Head

  • Members
  • PipPipPipPipPipPip
  • 516 posts

Posted 05 August 2018 - 05:54 PM

View PostV.T. Eric Layton, on 05 August 2018 - 05:44 PM, said:

SSH is FUN! At one time, I had SSH set up between my main system, my workshop system, and two laptops. It was very COOL!
Yeah but were you listening to "The Lennon Sisters"?

Posted Image
REGISTERED LINUX USER #547579


#5 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,504 posts

Posted 05 August 2018 - 06:36 PM

Oh, man... every day!

https://youtu.be/VghPp_5_vDQ

#6 OFFLINE   Peachy

Peachy

    Anarquista De Sartorial

  • Forum Moderators
  • 5,446 posts

Posted 15 August 2018 - 05:44 AM

I like using ssh reverse forwarding to setup a tunnel so I can RDP into a Windows host. :devil:

'freedom...is actually the reason that men live together in political organisations at all. Without it, political life as such would be meaningless. The raison d'Être of politics is freedom, and its field of experience is action'.
My Flickr Photo Blog Posted Image
del.icio.us bookmarks Posted Image


#7 OFFLINE   wa4chq

wa4chq

    Thread Head

  • Members
  • PipPipPipPipPipPip
  • 516 posts

Posted 15 August 2018 - 07:30 AM

View PostPeachy, on 15 August 2018 - 05:44 AM, said:

I like using ssh reverse forwarding to setup a tunnel so I can RDP into a Windows host. :devil:
I had to look up reverse forwarding, tunnel and RDP!  All this ssh stuff is still voodoo to me!  Peach, does this only apply to Linux > Windows?

Posted Image
REGISTERED LINUX USER #547579


#8 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,889 posts

Posted 15 August 2018 - 08:52 AM

RDP is a window's protocol.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#9 OFFLINE   wa4chq

wa4chq

    Thread Head

  • Members
  • PipPipPipPipPipPip
  • 516 posts

Posted 15 August 2018 - 09:05 AM

View Postsecuritybreach, on 15 August 2018 - 08:52 AM, said:

RDP is a window's protocol.
OK, thanks SB....I googled it earlier today after seeing Peachys comment.  So if I were going to access Windows from Linux (not that I would) I couldn't do it like I would from Linux to my Raspberry Pi?
tnx

Posted Image
REGISTERED LINUX USER #547579


#10 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,889 posts

Posted 15 August 2018 - 03:35 PM

View Postwa4chq, on 15 August 2018 - 09:05 AM, said:

View Postsecuritybreach, on 15 August 2018 - 08:52 AM, said:

RDP is a window's protocol.
OK, thanks SB....I googled it earlier today after seeing Peachys comment.  So if I were going to access Windows from Linux (not that I would) I couldn't do it like I would from Linux to my Raspberry Pi?
tnx

There are plenty of other ways https://www.tecmint....aring-software/
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#11 OFFLINE   wa4chq

wa4chq

    Thread Head

  • Members
  • PipPipPipPipPipPip
  • 516 posts

Posted 15 August 2018 - 06:36 PM

View Postsecuritybreach, on 15 August 2018 - 03:35 PM, said:

View Postwa4chq, on 15 August 2018 - 09:05 AM, said:

View Postsecuritybreach, on 15 August 2018 - 08:52 AM, said:

RDP is a window's protocol.
OK, thanks SB....I googled it earlier today after seeing Peachys comment.  So if I were going to access Windows from Linux (not that I would) I couldn't do it like I would from Linux to my Raspberry Pi?
tnx

There are plenty of other ways https://www.tecmint....aring-software/
Thanks SB.....Right, I know about and have used VNC but the article talks about Windows to Linux... I was asking about Linux to Windows.

Posted Image
REGISTERED LINUX USER #547579


#12 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,889 posts

Posted 15 August 2018 - 06:51 PM

The same works both ways in most cases.

Here is yet another way https://www.digitalc...-desktop-ubuntu
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#13 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,678 posts

Posted 15 August 2018 - 08:53 PM

I use ssh when people are talking at a quiet, intimate concert.
registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#14 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 23,889 posts

Posted 15 August 2018 - 09:01 PM

I mostly just ssh in (or scp for file transfer) but Remmina is a nice front end to RDP.
Posted ImagePosted Image Posted Image
CNI Radio/G+ Profile/Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#15 OFFLINE   wa4chq

wa4chq

    Thread Head

  • Members
  • PipPipPipPipPipPip
  • 516 posts

Posted 15 August 2018 - 09:18 PM

lol Sunrat!  Now a days depending on the location you may wanna have a plan B....ie taser or mace and taser if being polite fails!

Posted Image
REGISTERED LINUX USER #547579


#16 OFFLINE   wa4chq

wa4chq

    Thread Head

  • Members
  • PipPipPipPipPipPip
  • 516 posts

Posted 15 August 2018 - 09:26 PM

thanks SB, I will check that out!(

Posted Image
REGISTERED LINUX USER #547579





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users