Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
project:single_boards [2019/07/13 15:12]
over23 [remove password to ssh]
project:single_boards [2019/07/13 18:17]
over23 [MacOSX install of Banana PI]
Line 58: Line 58:
 <​code>​ <​code>​
 SemioTex:​Picka pavouk$ nmap 192.168.2.* SemioTex:​Picka pavouk$ nmap 192.168.2.*
 +### more extensive nmap: nmap -p0- -v -A -T4 192.168.1.*
 Starting Nmap 6.47 ( http://​nmap.org ) at 2016-03-13 14:47 CET Starting Nmap 6.47 ( http://​nmap.org ) at 2016-03-13 14:47 CET
 Nmap scan report for 192.168.2.2 Nmap scan report for 192.168.2.2
Line 119: Line 119:
    touch ~/​.ssh/​authorized_keys    touch ~/​.ssh/​authorized_keys
    chmod 600 ~/​.ssh/​authorized_keys    chmod 600 ~/​.ssh/​authorized_keys
 +   
 +==== example of generating key to non standard position ====
 +
 +<​code> ​
 +over@darkstar>​mkdir ~/ssh_tmp
 +ssh-keygen -t rsa -C "​tpetru@gmail.com"​ -f ~/​ssh_tmp/​id_rsa_na_jine_misto
 +Generating public/​private rsa key pair.
 +Enter passphrase (empty for no passphrase):​
 +Enter same passphrase again:
 +Your identification has been saved in /​home/​over/​ssh_tmp/​id_rsa_na_jine_misto
 +Your public key has been saved in /​home/​over/​ssh_tmp/​id_rsa_na_jine_misto.pub.
 +The key fingerprint is:
 +SHA256:​hriECJShFg+8AKVHVkoqYtBknvhf/​sGW+KQr4wqtEUE tpetru@gmail.com
 +The key's randomart image is:
 ++---[RSA 2048]----+
 +|=EX.. ​           |
 +|*%=o             |
 +|@o*.             |
 +|** . . .         |
 +|o o o o S        |
 +| o o + + .       |
 +|o . o o *        |
 +| +  o  * .       |
 +|. .o.oo.o ​       |
 ++----[SHA256]-----+
 +</​code>​
 +   
 +
    nano ~/​.ssh/​authorized_keys <--- copy there public key generated somewhere    nano ~/​.ssh/​authorized_keys <--- copy there public key generated somewhere
  
  • project/single_boards.txt
  • Last modified: 2019/07/17 04:54
  • by over23