Änderungen von Dokument SSH

Zuletzt geändert von Aysegül Omus am 2025/01/31 12:25

Von Version 63.5
bearbeitet von Narine Kashirskaya
am 2023/02/28 11:32
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 65.1
bearbeitet von Aysegül Omus
am 2023/02/28 11:40
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.sumina
1 +XWiki.kahraman
Inhalt
... ... @@ -73,7 +73,6 @@
73 73  
74 74  (% class="box" %)
75 75  (((
76 -
77 77  {{{$> ssh RBG-username@hostname}}}
78 78  )))
79 79  
... ... @@ -83,7 +83,6 @@
83 83  
84 84  (% class="box" %)
85 85  (((
86 -
87 87  {{{$> ssh musterma@lxhalle.in.tum.de oder $> ssh musterma@ssh.ma.tum.de}}}
88 88  )))
89 89  
... ... @@ -121,7 +121,6 @@
121 121  
122 122  (% class="box" %)
123 123  (((
124 -
125 125  {{{touch ~/.ssh/config}}}
126 126  )))
127 127  
... ... @@ -129,15 +129,33 @@
129 129  
130 130  (% class="box" %)
131 131  (((
132 -
133 133  {{{vim ~/.ssh/config}}}
134 134  )))
135 135  
136 136  Ein Beispiel Hosteintrag sieht wie folgt aus :
137 137  
134 +>
138 138  
139 -{{{Host * IdentitiesOnly yes ServerAliveInterval 15 Host <i>aliasname</i> HostName <i>FQDN oder IP des Server</i> User <i>username</i> Port <i>Port</i> IdentityFile <i>PfadzumKeyfile</i>}}}
140 140  
137 +{{{Host *}}}
138 +
139 +{{{IdentitiesOnly yes}}}
140 +
141 +{{{ServerAliveInterval 15}}}
142 +
143 +>
144 +
145 +
146 +{{{Host aliasname}}}
147 +
148 +{{{HostName FQDN oder IP des Server}}}
149 +
150 +{{{User username}}}
151 +
152 +{{{Port Port}}}
153 +
154 +{{{IdentityFile PfadzumKeyfile}}}
155 +
141 141  Um eine SSH-Verbindgung ohne Passwort zur Lxhalle auszubauen, braucht man eine Konfigurationsdtei wie unten
142 142  {{{Host * IdentitiesOnly yes ServerAliveInterval 15 Host lxhalle HostName lxhalle.in.tum.de User musterma IdentityFile /Users/max/.ssh/id_rsa_lxhalle}}}
143 143