You can use SSH to connect to your Raspberry Pi on a Linux or Mac computer (or another Raspberry Pi) terminal, and you don't need any other software.
You need to know your Raspberry Pi IP address to connect to it. Query IP, you can enter the command "Hostname-i" on the Raspberry Pi terminal. Also, if you run a Raspberry Pi without a monitor, you can view the list of devices on your router or use a tool like Nmap.
Copy and paste the following commands on the computer's terminal, but replace the <IP> with your Raspberry Pi IP. Use CTRL + Shift + V on the terminal to paste.
SSH [email protected]<ip>
If you receive an connection timed out (connection timeout) error, chances are that you lost your Raspberry Pi IP.
If the connection is successful, you will see a warning about security validation. Enter Yes to continue, you will only see this warning on the first connection.
Sometimes your Raspberry Pi may take up an IP address that your computer used to connect (and possibly connect to another network), and you'll get a warning and ask to clear your list of known devices. Follow the instructions, and then use the SSH command again to connect the connection should be successful.
Next, you will be prompted to enter the PI user's password to log in, Raspbian the default password when raspberry. Now you should be able to see the Raspberry Pi prompt, which represents a user found on the Raspberry Pi.
If you add other users to the Raspberry Pi, you can also connect using the same method, just replace the username, for example [email protected]
[Email protected] ~ $
Now that you have telnet to the Raspberry Pi, you can execute the command directly on it.
The documentation for more SSH commands requires only the man SSH input on the terminal.
Configure your Raspberry Pi to allow password-free SSH access via public/private key-value pairs, refer to the passwordless SSH guide.
Original address: Http://www.raspberrypi.org/documentation/remote-access/ssh/unix.md
Linux or Mac systems use SSH to connect Raspberry Pi