You are not logged in.

#1 2008-08-25 06:30:43

Thoht
Member
From: Sweden
Registered: 2008-02-02
Posts: 75

What can I use SSH for?

Hey folks!

So I just got X and Openbox along with a bunch of handy GTK applications up and running, and sat up the whole night installing stuf when I came across the Wiki entry for SSH. I set it up and got it running rather quickly, accessing my Archlinux desktop from my MacBook Pro, so that's wicked cool! Now I wonder, I heard that Irssi and Screen is all the rage, that I could keep Irssi running 24/7 or something on my desktop and connect remotely from my laptop... I think I have a tutorial to doing that somewhere - but what else can I do remotely from my laptop? I'm pretty much just an ordinary PC user, I listen to music, draw stuf, write stuf, surf the web... what do you do via SSH?

Thanks for the tips!

Edit: Changed subject into something more appropriate.

Last edited by Thoht (2008-08-25 09:11:44)


Credit to KiwiesRuleXD @ DeviantArt for the avatar.

Offline

#2 2008-08-25 06:55:29

IMG
Member
From: Greece
Registered: 2008-02-22
Posts: 21

Re: What can I use SSH for?

what do you do via SSH?

Well you basically open a (mostly) command line session to the computer you ssh ,
and this pretty much allows you to do virtually anything you want to do, allowing you to "teleoperate" other computers you may have. You can get some X forwarding aswell , but i wouldnt suggest it as it consumes too much bandwith.If you want graphical "teleoperation" you could use one of the remote desktop/sharing programs such as krdc et al.

Personally , when i bought my laptop , i pretty much stopped touching the desktop, as i was doing everything remotely (eg, playing music at desktop,any administation thingy, while you are resting on couch/bed).

Enjoy
IMG

Offline

#3 2008-08-25 07:08:16

xvalentinex
Member
Registered: 2008-05-31
Posts: 22

Re: What can I use SSH for?

Just a few,

You can use SSH as a file transfer protocol (sftp or scp) and you can even mount a Linux folder on your MAC over ssh (a quick google reveals macFUSE)

You can forward an X application over your ssh tunnel.  So the program runs on the remote PC but is displayed on your local PC (I think this is doable between a Linux and MAC).

You can create a tunnel past a restrictive firewall.


If your talking about terminal apps, there are lots you can do over an ssh terminal
mutt/pine for email
bitchx/irssi for irc
rtorrent for torrents
lynx/links/w3c for web browsing

Offline

#4 2008-08-25 16:03:01

tam1138
Member
Registered: 2007-09-10
Posts: 238

Re: What can I use SSH for?

I think a more apt question would be: what *can't* you use ssh for?

Offline

#5 2008-08-25 17:43:15

madhatter
Member
From: Freudenstadt, Germany
Registered: 2004-09-01
Posts: 59

Re: What can I use SSH for?

You can even watch movies with mplayer -vo caca wink

Offline

#6 2008-08-25 20:18:58

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: What can I use SSH for?

tam1138 wrote:

I think a more apt question would be: what *can't* you use ssh for?

sudo make_me_a_sandwich

tongue


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#7 2008-08-25 22:37:38

kclive18
Member
From: Columbus, Ohio, USA
Registered: 2008-05-08
Posts: 219

Re: What can I use SSH for?

SSHFS is a great way to use SSH.  It's basically NFS over an SSH connection (on OSX it's called MacFUSE, if any of you are Mac users out here).  I use SSHFS all the time to transfer stuff b/w my laptop and my imac.


My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! tongue, OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686 cool
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor

Offline

#8 2008-08-26 09:53:13

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: What can I use SSH for?

You can install, configure and run synergy on both machines tongue


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#9 2008-08-26 16:04:55

Thoht
Member
From: Sweden
Registered: 2008-02-02
Posts: 75

Re: What can I use SSH for?

Thanks for all the tips! Especially MacFUSE looks cool. big_smile

On another note, while connected via SSH there's alot of lag, delays, from when I type and when they letters show up on the screen. Any idea what could be the cause of this, or how to start troubleshooting? I've got a quite speedy 3G connection running, which doesn't act up otherwise.

Has anyone tried altering rTorrents UI? I like how simple it is, I'm no poweruser, but It'd be cool if it was a bit more pleasing for the eyes at a quick glance, like nano is. Maybe I should start another topic for that... at the project fora.... tongue

Did anyone try running Transmission as a bittorrent client through SSH? It doesn't seem to have a TUI? Only CLI? Transmission is the only client I'd consider on my Mac, but the GTK interface on my Archlinux PC aside, it doesn't seem to offer alot beyond the daemon feature and CLI interface?

(I really dig ncurses stuf!)


Credit to KiwiesRuleXD @ DeviantArt for the avatar.

Offline

#10 2008-08-26 21:36:49

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: What can I use SSH for?

Thoht wrote:

On another note, while connected via SSH there's alot of lag, delays, from when I type and when they letters show up on the screen. Any idea what could be the cause of this, or how to start troubleshooting? I've got a quite speedy 3G connection running, which doesn't act up otherwise.

SSH is mainly about roundtrip time (you press a key, message gets send to the server, server recieves, reacts, sends message back, you recieve the message and see the next character on your screen). Last thing I heard 3G was pretty crappy in this area. So I'd say some lagging is to be expected. Unless "doesn't act up otherwise" includes playing ego shooters on the net wink . If I am wrong and it is a bandwith problem you could try compression.
You could look into FreeNX as well, but that probably won't help much with cli lagging. You will notice an immense speedup with X apps though.

Edit: Where did that H under my post come from? Who put it there? I should go to bed.

Last edited by Garns (2008-08-26 21:38:15)

Offline

#11 2008-08-26 21:51:07

Thoht
Member
From: Sweden
Registered: 2008-02-02
Posts: 75

Re: What can I use SSH for?

Garns wrote:

SSH is mainly about roundtrip time (you press a key, message gets send to the server, server recieves, reacts, sends message back, you recieve the message and see the next character on your screen).

That'd explain it I suppose, thanks. I though nothing would be sent before I pressed the enter key.

Garns wrote:

Last thing I heard 3G was pretty crappy in this area. So I'd say some lagging is to be expected.

Now that you mention it, my 7,2 Mbit/s 3G-modem is alot slower than my 1 Mbit/s ethernet/broadband/wired (correct term?) at home.


Credit to KiwiesRuleXD @ DeviantArt for the avatar.

Offline

#12 2008-08-27 03:35:05

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: What can I use SSH for?

madhatter wrote:

You can even watch movies with mplayer -vo caca wink

Hey that sounds quite interesting, how does that work exactly? Say I'm on my Windows XP box at my office and I use putty to get into my arch box at home, what exactly would occur? I'm pretty new with SSH too, intrigued at the possibilities smile

Offline

#13 2008-08-27 06:47:30

rizzix
Member
Registered: 2005-10-22
Posts: 55

Re: What can I use SSH for?

You can also use it for port-forwarding and to create your own VPN.

Offline

#14 2008-08-27 18:02:42

madhatter
Member
From: Freudenstadt, Germany
Registered: 2004-09-01
Posts: 59

Re: What can I use SSH for?

colbert wrote:
madhatter wrote:

You can even watch movies with mplayer -vo caca wink

Hey that sounds quite interesting, how does that work exactly? Say I'm on my Windows XP box at my office and I use putty to get into my arch box at home, what exactly would occur? I'm pretty new with SSH too, intrigued at the possibilities smile

It's more of a toy, it displays the video with ASCII characters, so it's not really watchable - also, no sound.
I don't know if there's a good way to stream video over ssh, but you can stream video with vlc (http://www.videolan.org/vlc/streaming.html)

Offline

#15 2008-09-13 02:27:16

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

Re: What can I use SSH for?

colbert wrote:
madhatter wrote:

You can even watch movies with mplayer -vo caca wink

Hey that sounds quite interesting, how does that work exactly? Say I'm on my Windows XP box at my office and I use putty to get into my arch box at home, what exactly would occur? I'm pretty new with SSH too, intrigued at the possibilities smile

I use ssh for tons of stuff. At home, it's a remote access to the server so I don't have to get off the couch. X forwarding applications over the wireless at home usually works pretty decent as well.

At work or wireless hot spots, it's a proxy server

ssh -D 8080 (or pick a port) server.com

I point Firefox & Thunderbird through the proxy and I (feel) automagically secure in my surfing vs the unencrypted free for all wireless connection I'm using. The other handy dandy feature is that it allows me to circumvent (for lack of a better term) the port 25 blocking of my ISP so I can actually send e-mails when I'm away from home.


"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot

Offline

Board footer

Powered by FluxBB