Changes between Version 53 and Version 54 of cypress/SshUsage


Ignore:
Timestamp:
08/25/23 14:02:38 (15 months ago)
Author:
cbaribault
Comment:

Changed cypress1 to cypress, updated section "In Case of error…"

Legend:

Unmodified
Added
Removed
Modified
  • cypress/SshUsage

    v53 v54  
    173173
    174174{{{
    175 user@localhost> ssh tulaneID@cypress1.tulane.edu
     175user@localhost> ssh tulaneID@cypress.tulane.edu
    176176}}}
    177177
     
    190190[[Image(https://docs.google.com/drawings/d/e/2PACX-1vSlffILDUxxzh_QpD4M7P5-bY_tCkYNjA9xIYWuUUqz_HBBczQ18o5AWA9OZ5_w5Q0bwQJbdgmUCuMJ/pub?w=594&h=209, center)]]
    191191
    192 ==== In Case Of Error: no matching host key type ====
     192==== In Case Of Error: Unable to negotiate...no matching host key type found ====
    193193
    194194If you encounter the error below:
    195195{{{
    196 $ssh userid@cypress.tulane.edu
     196user@localhost> $ssh userid@cypress.tulane.edu
    197197Error msg: Unable to negotiate with xx.xx.xx.xx port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
    198198}}}
    199 Add the following lines to ~/.ssh/config on your local computer.
     199Add the following lines to the file ~/.ssh/config on your local computer.
    200200{{{
    201201Host cypress.tulane.edu
     
    205205}}}
    206206
    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.
     207If 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
     209Also, 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.
    208210
    209211On Linux, Mac, and WSL, if you prefer, you can do so using the command line in your terminal window via the following.
    210212{{{
    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.
     213user@localhost> cd  # change the current directory to your home directory as needed
     214user@localhost> mkdir -p .ssh # create the subdirectory .ssh as needed
     215user@localhost> cd .ssh # change to that subdirectory
     216user@localhost> nano config # create, as needed, and edit and save the file named config.
    215217}}}
    216218For file editing with nano, etc., see [[https://wiki.hpc.tulane.edu/trac/wiki/cypress/FileEditingSoftware/Example|File Editing Example]].
     
    220222For Windows terminal, you can open a window for notepad from the command line via the following.
    221223{{{
    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.
     224C:\Users\user> cd &rem change directory to your home directory
     225C:\Users\user> notepad .ssh\config
     226}}}
     227
     228Again, 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.
    226229
    227230[[cypress/ssh_public-key_authentication | ssh Public-key Authentication]]