SSH + Raspberry Pi >
Or “remote commandline”.
Table of Contents [hide]
On the Pi ∞
Tested 2013-11-01 on Raspbian 2013-09-25, updated recently.
\sudo \raspbi-config
“Advanced” has the option to enable SSH.
Learn the Raspberry Pi internal IP address ∞
Learn the internal IP address of your Pi. You can either run ifconfig to get it, or script it:
\ifconfig wlan0 | \grep inet\ addr: | \cut -d':' -f2 | \cut -d' ' -f1
Change wlan0 to eth0 if you’re using a wired connection.
On a Linux desktop ∞
Tested 2013-07-22 on i686 Lubuntu 13.04, updated recently.
\ssh pi@192.168.0.2
- Use the IP address you discovered earlier.
-
You may have to say “yes” to the prompt, if it’s your first time connecting:
The authenticity of host '192.168.0.2 (192.168.0.2)' can't be established. ECDSA key fingerprint is <whatever>. Are you sure you want to continue connecting (yes/no)?
SSH file transfers ∞
(using LFTP)
\lftp sftp://pi@192.168.0.2
TODO – I do not know how to gain sudo-like root access for ssh file transfers.
