Ä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.2
bearbeitet von Narine Kashirskaya
am 2023/02/28 11:59
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
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,18 +129,23 @@
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 +>
135 +>{{{Host *}}}{{{IdentitiesOnly yes}}}{{{ServerAliveInterval 15}}}
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>}}}
137 +>{{{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  
141 141  Um eine SSH-Verbindgung ohne Passwort zur Lxhalle auszubauen, braucht man eine Konfigurationsdtei wie unten
142 -{{{Host * IdentitiesOnly yes ServerAliveInterval 15 Host lxhalle HostName lxhalle.in.tum.de User musterma IdentityFile /Users/max/.ssh/id_rsa_lxhalle}}}
143 143  
141 +>
142 +>{{{Host *}}}{{{IdentitiesOnly yes}}}{{{ServerAliveInterval 15}}}
143 +
144 +>{{{Host lxhalle}}}{{{HostName lxhalle.in.tum.de}}}{{{User musterma}}}{{{IdentityFile /Users/max/.ssh/id_rsa_lxhalle}}}
145 +
144 144  == 1.3. SSH Key ==
145 145  
146 146  === 1.3.1. Schlüsselpaar generieren (Private und Public) ===