Submitted by rezuan on Tue, 05/09/2017 - 7:04pm
-
Connect to the Raspberry Pi make sure you have the correct IP address.
ssh pi@0.0.0.0
___ _ _ / _ \ _ ___ __ _____| | | | (_) | '_\ V V / -_) | | \___/|_| \_/\_/\___|_|_| "Big Brother is watching you." Linux master.orwell.my 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat Sep 12 23:21:54 2015 from localhost
-
Generate ssh key we are using the RSA type.
ssh-keygen -t rsa
Replace the ssh key if it exists. Enter empty passphrase when it ask.Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter Enter passphrase (empty for no passphrase): Enter Enter same passphrase again: Enter Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: 75:33:e1:81:01:4d:17:55:ee:56:39:64:21:ae:62:19 root@master-pi The key's randomart image is: +--[ RSA 2048]----+ | .+oo=+.=o| | oo.o+..| | E. =. oo| | .o..o .o| | S+ . o| | . . . | | | | | | | +-----------------+
-
Get the key and email to Rezuan copy the content of id_rsa.pub
cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCbdKGlH5T+MrruIOWa+R8Ty/ByjtKP+zy1vhDsjE/s8l7H9Yo27BHPfADARZLpP8WicQXKITaV1McU5u9ICZoRhgI+Wcg+/HS4eFJwu4hd5mddnXV6wHZ3v4kEej9OuKKdhtwdxTNg+wrIPqKueY76t+HCJ0/EeEhqN3FWZh4rEAtFJfFjhXeEKvwa0DWDnbqrfOBDK8r6v3MnMT5jGuwWpvBvIp6ixeDYZfaC4J4aXx+wY3knkQyaM9eKdO6Ll4x7ytVntR6i1X+zEDIFPgTdT9+Kbex6xfgtU0pWMBbYAzncvs3AM0jizoxmB+/H2taVmGVqMH6XzcDysqQeQMTZ pi@master.orwell.my