ssh

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
ssh [2019/07/30 22:12] – [SSH Folder Permissions] tmaierssh [2020/12/29 02:09] (current) – external edit 127.0.0.1
Line 7: Line 7:
 ===== SSH Proxy ===== ===== SSH Proxy =====
  
-''ssh -C2qTnN -D 12345 -p 22 <system_user>@fs.cs.hm.edu''+''ssh -C2qTnN -D 12345 -p 22 <system_user>@<domain>''
 ===== SSH Agent Forwarding ===== ===== SSH Agent Forwarding =====
  
-''ssh -A tmaier@wurps.de''+''ssh -A <system_user>@<domain>''
 ===== Force Password Authentication (client-side) ===== ===== Force Password Authentication (client-side) =====
  
 <code> <code>
-ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no wurps.de+ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no <domain>
 </code> </code>
  
-===== SSH Folder Permissions =====+===== SSH Folder Permissions Client =====
  
 <code> <code>
-mkdir ~/.ssh 
 chmod 700 ~/.ssh chmod 700 ~/.ssh
 chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa
 chmod 600 ~/.ssh/id_rsa.pub chmod 600 ~/.ssh/id_rsa.pub
-vim .ssh/authorized_keys+</code> 
 + 
 +===== SSH Folder Permissions Server ===== 
 + 
 +<code> 
 +mkdir ~/.ssh 
 +touch ~/.ssh/authorized_keys 
 +chmod 600 ~/.ssh/authorized_keys 
 +vim ~/.ssh/authorized_keys
 </code> </code>
  
  
  • ssh.1564517570.txt.gz
  • Last modified: 2020/12/29 02:09
  • (external edit)