13 lines
237 B
Markdown
13 lines
237 B
Markdown
# shell-scripte
|
|
Nützliche shell-scripte
|
|
|
|
ssh tunnel vom server oder zum server
|
|
einrichten mit:
|
|
|
|
ssh-keygen -t rsa -b 4096
|
|
|
|
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server
|
|
|
|
oder
|
|
|
|
cat id_rsa.pub | ssh server 'cat>> ~/.ssh/authorized_keys'
|