Änderungen von Dokument SSH

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

Von Version 65.2
bearbeitet von Narine Kashirskaya
am 2023/02/28 11:59
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 63.5
bearbeitet von Narine Kashirskaya
am 2023/02/28 11:32
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -73,6 +73,7 @@
73 73  
74 74  (% class="box" %)
75 75  (((
76 +
76 76  {{{$> ssh RBG-username@hostname}}}
77 77  )))
78 78  
... ... @@ -82,6 +82,7 @@
82 82  
83 83  (% class="box" %)
84 84  (((
86 +
85 85  {{{$> ssh musterma@lxhalle.in.tum.de oder $> ssh musterma@ssh.ma.tum.de}}}
86 86  )))
87 87  
... ... @@ -119,6 +119,7 @@
119 119  
120 120  (% class="box" %)
121 121  (((
124 +
122 122  {{{touch ~/.ssh/config}}}
123 123  )))
124 124  
... ... @@ -126,23 +126,18 @@
126 126  
127 127  (% class="box" %)
128 128  (((
132 +
129 129  {{{vim ~/.ssh/config}}}
130 130  )))
131 131  
132 132  Ein Beispiel Hosteintrag sieht wie folgt aus :
133 133  
134 ->
135 ->{{{Host *}}}{{{IdentitiesOnly yes}}}{{{ServerAliveInterval 15}}}
136 136  
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>}}}
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>}}}
138 138  
139 139  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}}}
140 140  
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 -
146 146  == 1.3. SSH Key ==
147 147  
148 148  === 1.3.1. Schlüsselpaar generieren (Private und Public) ===