Changes between Version 53 and Version 54 of cypress/SshUsage
- Timestamp:
- 08/25/23 14:02:38 (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/SshUsage
v53 v54 173 173 174 174 {{{ 175 user@localhost> ssh tulaneID@cypress 1.tulane.edu175 user@localhost> ssh tulaneID@cypress.tulane.edu 176 176 }}} 177 177 … … 190 190 [[Image(https://docs.google.com/drawings/d/e/2PACX-1vSlffILDUxxzh_QpD4M7P5-bY_tCkYNjA9xIYWuUUqz_HBBczQ18o5AWA9OZ5_w5Q0bwQJbdgmUCuMJ/pub?w=594&h=209, center)]] 191 191 192 ==== In Case Of Error: no matching host key type====192 ==== In Case Of Error: Unable to negotiate...no matching host key type found ==== 193 193 194 194 If you encounter the error below: 195 195 {{{ 196 $ssh userid@cypress.tulane.edu196 user@localhost> $ssh userid@cypress.tulane.edu 197 197 Error msg: Unable to negotiate with xx.xx.xx.xx port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss 198 198 }}} 199 Add the following lines to ~/.ssh/config on your local computer.199 Add the following lines to the file ~/.ssh/config on your local computer. 200 200 {{{ 201 201 Host cypress.tulane.edu … … 205 205 }}} 206 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. 207 If the file ~/.ssh/config doesn't exist yet on your local computer, you may need to first create the directory ~/.ssh and then create and edit the file ~/.ssh/config. 208 209 Also, be sure to enter ''exactly the same'' value for '''!HostName''' in the file ~/.ssh/config as the hostname that you use in your '''ssh''' command. 208 210 209 211 On Linux, Mac, and WSL, if you prefer, you can do so using the command line in your terminal window via the following. 210 212 {{{ 211 cd # change the current directory to your home directory as needed212 mkdir -p .ssh # create the subdirectory .ssh as needed213 cd .ssh # change to that subdirectory214 nano config # create, as needed, and edit and save the file named config.213 user@localhost> cd # change the current directory to your home directory as needed 214 user@localhost> mkdir -p .ssh # create the subdirectory .ssh as needed 215 user@localhost> cd .ssh # change to that subdirectory 216 user@localhost> nano config # create, as needed, and edit and save the file named config. 215 217 }}} 216 218 For file editing with nano, etc., see [[https://wiki.hpc.tulane.edu/trac/wiki/cypress/FileEditingSoftware/Example|File Editing Example]]. … … 220 222 For Windows terminal, you can open a window for notepad from the command line via the following. 221 223 {{{ 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. 224 C:\Users\user> cd &rem change directory to your home directory 225 C:\Users\user> notepad .ssh\config 226 }}} 227 228 Again, be sure to enter ''exactly the same'' value for '''!HostName''' in the file ~/.ssh/config as the hostname that you use in your '''ssh''' command. 226 229 227 230 [[cypress/ssh_public-key_authentication | ssh Public-key Authentication]]