peanutismint
Posts: 39
Joined: Thu Nov 22, 2012 7:14 pm

Why SSH?

Sat Nov 24, 2012 10:20 pm

I'm just wondering why all these posts suggest using SSH to access files on the SD card rather than FTP or similar..... Is there any reason why SSH is preferred? Is it possible to see some sort of graphical user interface with SSH as with FTP or is it command-line only??

JeremyF
Posts: 515
Joined: Wed Jan 25, 2012 9:06 pm
Contact: Website

Re: Why SSH?

Sat Nov 24, 2012 10:24 pm

SSH is secure. If you want to do FTP type things over SSH you can use SFTP. (it's the same service)

A Windows SFTP client is WinSCP (http://winscp.net, settings: port 22, protocol SFTP)
{sig} Setup: Original version Raspberry Pi (B, rev1, 256MB), Dell 2001FP monitor (1600x1200), 8GB Class 4 SD Card with Raspbian and XBMC, DD-WRT wireless bridge

User avatar
SN
Posts: 1014
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
Contact: Website

Re: Why SSH?

Sat Nov 24, 2012 10:27 pm

WinSCP is the fella indeed - I talk to my pi's ONLY with that and putty
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?

rickseiden
Posts: 411
Joined: Thu Aug 02, 2012 12:21 pm
Location: Buffalo, NY, USA

Re: Why SSH?

Sun Nov 25, 2012 2:05 am

SN wrote:WinSCP is the fella indeed - I talk to my pi's ONLY with that and putty
You should try MobaXterm. It gives you both at the same time, along with a built in X server and VNC client.
There are 10 types of people in this world. Those that understand binary, and those that don't.

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Why SSH?

Sun Nov 25, 2012 9:08 am

SSH is standard issue in Linux land, the client is installed by default on every distro I know of. It only maintains FTP for compatibility with lesser operating systems ;). Because its so standard, installing the server (if not already installed and activated) is a breeze. Using the filemanager Nautilus which is very popular on many Linux distros, you have drag and drop and direct editing/viewing of files on the remote system. Getting remote X running isn't a big deal either. Although why anyone would want to run a GUI on a severely underpowered thing like the Pi from a real computer is beyond me. (Just cut your losses and do it on the real computer).

You can burn me at the stake for heresy now........
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

kalehrl
Posts: 350
Joined: Tue Jul 24, 2012 10:49 am

Re: Why SSH?

Sun Nov 25, 2012 9:33 am

I get much better speeds with using vsftpd (ftp protocol) than using WinSCP (sftp) for transferring files.

User avatar
Dweeber
Posts: 606
Joined: Fri Aug 17, 2012 3:35 am
Location: Mesa, AZ
Contact: Website

Re: Why SSH?

Sun Nov 25, 2012 12:23 pm

kalehrl wrote:I get much better speeds with using vsftpd (ftp protocol) than using WinSCP (sftp) for transferring files.
Because it is not encrypting the data that is being sent over. Insecure.
Dweeber A.K.A. Kevin...
My RPI Info Pages including Current Setup - http://rpi.tnet.com

rickseiden
Posts: 411
Joined: Thu Aug 02, 2012 12:21 pm
Location: Buffalo, NY, USA

Re: Why SSH?

Sun Nov 25, 2012 1:20 pm

pluggy wrote:Although why anyone would want to run a GUI on a severely underpowered thing like the Pi from a real computer is beyond me.
It's easier, when coding in Python, to edit and run and edit and run and edit and run, when you're in the GUI. Although I've recently switched to Geany, using MobaXterm to send the window to my Windows machine.

Just my 2 cents.
There are 10 types of people in this world. Those that understand binary, and those that don't.

Return to “Beginners”