| | 206 | |
| | 207 | If the file ~/.ssh/config doesn't exist yet on your local computer, you may need to create the directory ~/.ssh and/or create and edit the file ~/.ssh/config. |
| | 208 | |
| | 209 | On Linux, Mac, and WSL, if you prefer, you can do so using the command line in your terminal window via the following. |
| | 210 | {{{ |
| | 211 | cd # change the current directory to your home directory as needed |
| | 212 | mkdir -p .ssh # create the subdirectory .ssh as needed |
| | 213 | cd .ssh # change to that subdirectory |
| | 214 | nano config # create, as needed, and edit and save the file named config. |
| | 215 | }}} |
| | 216 | For file editing with nano, etc., see [[https://wiki.hpc.tulane.edu/trac/wiki/cypress/FileEditingSoftware/Example|File Editing Example]]. |
| | 217 | |
| | 218 | In the case of nano, you can simply copy and paste the contents into the window and save the result. |
| | 219 | |
| | 220 | For Windows terminal, you can open a window for notepad from the command line via the following. |
| | 221 | {{{ |
| | 222 | cd &rem change directory to your home directory |
| | 223 | notepad .ssh\config |
| | 224 | }}} |
| | 225 | Note that the hostname included in the file must match the hostname that you used in your **ssh** command. |