Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
public:openlab:spring2015:ssh-notes [2015-02-27 10:24] – created mukroppublic:openlab:spring2015:ssh-notes [2016-12-01 13:28] (current) – external edit 127.0.0.1
Line 19: Line 19:
 ===== Configuration file ===== ===== Configuration file =====
  
-Host aisa +  Host aisa 
-  Hostname aisa.fi.muni.cz +    Hostname aisa.fi.muni.cz 
-  ForwardAgent yes +    ForwardAgent yes 
-  Username xukrop +    Username xukrop 
-  VisualHostKey yes +    VisualHostKey yes 
- +   
-Host nymfe* +  Host nymfe* 
-  ForwardAgent yes +    ForwardAgent yes 
-  Hostname %h.fi.muni.cz +    Hostname %h.fi.muni.cz 
-  IdentityFile ~/.ssh/id_rsa +    IdentityFile ~/.ssh/id_rsa 
-  ProxyCommand ssh xstill@aisa.fi.muni.cz nc %h %p +    ProxyCommand ssh xstill@aisa.fi.muni.cz nc %h %p 
- +   
- +  # defaults should be at the end 
-# defaults should be at the end +  # security hardening 
-# security hardening +  Host * 
-Host * +    User xstill 
-  User xstill +    PreferredAuthentications publickey 
-  PreferredAuthentications publickey +    ForwardAgent no 
-  ForwardAgent no +    PasswordAuthentication no 
-  PasswordAuthentication no +    ChallengeResponseAuthentication no 
-  ChallengeResponseAuthentication no +    PubkeyAuthentication yes
-  PubkeyAuthentication yes+
  
 ===== Miscellaneous ===== ===== Miscellaneous =====