Changes between Version 7 and Version 8 of User Guide/Remote Access/SSH
- Timestamp:
- Nov 15, 2019, 3:26:26 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
User Guide/Remote Access/SSH
v7 v8 212 212 213 213 [[CollapsibleStart(Mac)]] 214 '''Mac instrucstions are currently under development. We apologize for the inconvenience.''' 214 215 Mac OS has a native command line ssh client that can be used to remotely log into consoles. From the Finder select Applications -> Utilities -> Terminal to open a command line terminal. 215 216 216 217 ==== Generating keys ==== 217 TODO 218 Generate the public and private keys using the following command 219 {{{ 220 ssh-keygen -t rsa 221 }}} 222 223 Follow the prompt to save the keys in the default location, use a passphrase for additional security. Once your keys are saved successfully, a 'randomart' will be generated. 224 {{{ 225 your_username@Macintrash ~ % ssh-keygen -t rsa -C mac 226 Generating public/private rsa key pair. 227 Enter file in which to save the key (/Users/your_username/.ssh/id_rsa): 228 Created directory '/Users/your_username/.ssh'. 229 Enter passphrase (empty for no passphrase): 230 Enter same passphrase again: 231 Your identification has been saved in /Users/your_username/.ssh/id_rsa. 232 Your public key has been saved in /Users/your_username/.ssh/id_rsa.pub. 233 The key fingerprint is: 234 SHA256:sclFUKMVPUAUBEk+Qa3MZhLv3qfo/BWY+B5huCajS5U mac 235 The key's randomart image is: 236 +---[RSA 2048]----+ 237 | o*X%= | 238 | ...=..o | 239 | ==.. . | 240 | .oBO o | 241 | E=S = . | 242 | . .+ . . | 243 | . o.o.o . | 244 | . . =.o.o. | 245 | o. .+.+o | 246 +----[SHA256]-----+ 247 }}} 218 248 219 249 [[BR]] … … 226 256 3. Click the "Choose File" button next to "Public key file" 227 257 228 4. Navigate to where your '''public key file''' is stored (typically / home/your_username/.ssh)258 4. Navigate to where your '''public key file''' is stored (typically /Users/your_username/.ssh) 229 259 230 260 5. Select the .pub file corresponding to the key you wish to use for COSMOS access … … 240 270 [[BR]] 241 271 ==== Configuring your SSH client ==== 242 TODO 272 Under normal circumstances, as long as the private key file is located in the /Users/your_username/.ssh/ folder, the command line SSH client will use the correct key when connecting. 273 274 To test your setup, open a command-line terminal and (replacing ''your_orbit_username'' with your own ORBIT username) type: 275 {{{ 276 ssh your_orbit_username@gw.orbit-lab.org 277 }}} 278 You should be prompted to enter your key file passphrase and be able to successfully connect. 279 280 Type {{{exit}}} and press the Enter key to end the SSH session. 281 243 282 244 283 [[BR]]