Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
project:single_boards [2016/05/31 16:20] over23 references edited at header |
project:single_boards [2019/07/13 15:12] over23 [remove password to ssh] |
||
---|---|---|---|
Line 138: | 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 ===== |