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 [2016/09/28 02:16] tmaierssh [2020/12/29 02:09] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Create SSH Keys ======+====== SSH ====== 
 + 
 +===== Create SSH Keys ===== 
 [[https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/|Github-Howto]] [[https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/|Github-Howto]]
-====== SSH Proxy ====== + 
-''ssh -C2qTnN -D 12345 -p 22 <system_user>@fs.cs.hm.edu'' +===== SSH Proxy ===== 
-====== SSH Agent Forwarding ====== + 
-''ssh -A tmaier@wurps.de''+''ssh -C2qTnN -D 12345 -p 22 <system_user>@<domain>'' 
 +===== SSH Agent Forwarding ===== 
 + 
 +''ssh -A <system_user>@<domain>'' 
 +===== Force Password Authentication (client-side) ===== 
 + 
 +<code> 
 +ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no <domain> 
 +</code> 
 + 
 +===== SSH Folder Permissions Client ===== 
 + 
 +<code> 
 +chmod 700 ~/.ssh 
 +chmod 600 ~/.ssh/id_rsa 
 +chmod 600 ~/.ssh/id_rsa.pub 
 +</code> 
 + 
 +===== SSH Folder Permissions Server ===== 
 + 
 +<code> 
 +mkdir ~/.ssh 
 +touch ~/.ssh/authorized_keys 
 +chmod 600 ~/.ssh/authorized_keys 
 +vim ~/.ssh/authorized_keys 
 +</code> 
 + 
  • ssh.1475021766.txt.gz
  • Last modified: 2020/12/29 02:09
  • (external edit)