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
Next revision Both sides next revision
project:single_boards [2016/05/25 23:11]
over23 scp examples added to backup part
project:single_boards [2019/07/13 15:12]
over23 [remove password to ssh]
Line 2: Line 2:
 |**Interested:​** | peterbay, [[user:​overdrive|Overdrive]]| |**Interested:​** | peterbay, [[user:​overdrive|Overdrive]]|
 |**Related:​**| | |**Related:​**| |
 +|**Reference:​**| https://​en.wikipedia.org/​wiki/​Banana_Pi |
 | **License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|Uveďte původ-Zachovejte licenci; CC BY-SA]] ​ | | **License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|Uveďte původ-Zachovejte licenci; CC BY-SA]] ​ |
 {{ project:​picka_small.jpg?​300}} {{ project:​picka_small.jpg?​300}}
Line 87: Line 88:
 sudo dd if=/​dev/​disk4 bs=1m | gzip > ~/​1_Labka/​banana_picka_25.5.2016.img.gz sudo dd if=/​dev/​disk4 bs=1m | gzip > ~/​1_Labka/​banana_picka_25.5.2016.img.gz
 </​code>​ </​code>​
-====== example how to copy finished ​backup ​to Labka Shell ======+====== example how to copy backup ​by scp ======
 ======= copy to remote host ======= ​ ======= copy to remote host ======= ​
  
Line 137: Line 138:
 when able to connect by key, everything is fine when able to connect by key, everything is fine
  
 +==== create ~/​.ssh/​config for labka ====
 +  touch ~/​.ssh/​config ​  
 +  chmod 110 ~/​.ssh/​config
 +
 +* add there this block of code; user needs to be correctly set up:
 +<​code>​
 +Host labka
 +    user [SOME USER PICO]
 +    hostname 193.84.207.21
 +    ForwardX11 yes
 +</​code>​
 +
 +* next time, you can connect to server by
 +   ssh labka
 +instead of 
 +   ssh [some_user]@193.84.207.21
 +
 +==== add user to wheel group [grant him sudo] ====
 +   ​usermod -aG wheel username
  
 ===== Change colour of shell ===== ===== Change colour of shell =====
  • project/single_boards.txt
  • Last modified: 2019/07/17 04:54
  • by over23