Browse code

ssh_config - v0.7 - Updates due to new configurations

Personal server: AT&T seems to have reserved port 22.
Work server: Heron does not allow keys anymore and breaks connection after 24h.

Fred authored on10/05/2018 22:49:14
Showing1 changed files
... ...
@@ -1,8 +1,8 @@
1 1
 # Title: config
2 2
 # Author: Frédéric CHEVALIER <vaderf@free.fr>
3
-# Version: 0.6
3
+# Version: 0.7
4 4
 # Created in: 2015-02-18
5
-# Modified in: 2017-06-18
5
+# Modified in: 2018-05-10
6 6
 
7 7
 
8 8
 
... ...
@@ -10,6 +10,7 @@
10 10
 # Versions #
11 11
 #==========#
12 12
 
13
+# v0.7 - 2018-05-10: update ssh port on personal US server because of AT&T restriction / update work server
13 14
 # v0.6 - 2017-06-18: github servers added
14 15
 # v0.5 - 2017-04-18: update hostname / update identity files with rsa keys
15 16
 # v0.4 - 2016-08-14: X11 options changed due to bashrc changes
... ...
@@ -40,6 +41,7 @@ Host wf
40 41
     HostName vaderf.com
41 42
     User wf
42 43
     IdentityFile ~/.ssh/main-server.rsa
44
+    Port 2222
43 45
     ForwardX11 yes
44 46
     ForwardX11Trusted yes
45 47
 
... ...
@@ -47,6 +49,7 @@ Host fwf
47 49
     HostName vaderf.com
48 50
     User fred
49 51
     IdentityFile ~/.ssh/fred_perso.rsa
52
+    Port 2222
50 53
     ForwardX11 yes
51 54
     ForwardX11Trusted yes
52 55
 
... ...
@@ -98,8 +101,10 @@ Host github_p
98 101
 Host heron
99 102
     HostName heron.txbiomedgenetics.org
100 103
     User fcheval
104
+    PubkeyAuthentication no
101 105
     ForwardX11 yes
102 106
     ForwardX11Trusted yes
107
+    ServerAliveInterval 600
103 108
 
104 109
 ## Connection to servers below works only after connection to heron from outside work network ##
105 110