How to connect by terminal to the Pi from another Linux machine

On the Pi:

sudo adduser <yourcatsname”>e.g. sudo adduser wilkie

The Pi will ask you to enter a password. 

You have to enter

sudo raspi-config

to start the config program. Choose the option to start the SSH server.

Click on “Wifi Config”. The IP address of your Pi will be displayed on the bottom line.

If you are not on WiFi type: ifconfig wlan0 It will say e.g.: inet addr:192.168.1.37

On your LInux box: ssh @ “your ip address” e.g. ssh wilkie@192.168.1.37 or ssh jmri@192.168.1.37  (if JMRI is the user account you wish to connect to)

You will see: The authenticity of host ‘192.168.1.37 (192.168.1.37)’ can’t be established. ECDSA key fingerprint is blah blah blah Are you sure you want to continue connecting (yes/no)? y Please type ‘yes’ or ‘no’: yes Warning: Permanently added ‘192.168.1.37’ (ECDSA) to the list of known hosts. wilkie@192.168.1.37’s password: Linux wilkiepi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l Blah Blah Blah

 

Once you are operating your Pi from your Linux machine, you can type:

 sudo apt-get install tightvncserver

Once installed, you’ll need to start the VNC server on the Pi.

 vncserver :1 -geometry 1024x768 -depth 16 

Open a new BASH window on your Linux. Start the VNC viewer program. Further reading: http://elinux.org/RPi_Remote_Access

 

Advertisements

Need Help? Type Here (sends an email to my tablet)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s