ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

SSH and "known_hosts"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SSH and "known_hosts"

    I'm new to SSH. I was following an article and performed these steps:
    1. CALL QP2TERM
    2. Typed "hostname" and got the name (e.g. SYSTEM1)
    3. I then typed "ssh SYSTEM1"
    4. I then got a message stating "The authenticity of host '...' can't be established........ ED25519 key fingerprint ...... Are you sure you want to continue connecting?"
    5. I replied "yes"
    6. Then I got a warning "Warning: Permanently added 'SYSTEM1' (ED25519) to the list of known hosts.
    7. It then asked for my password.
    Step 6 spooks me. I thought it would add it to my HOME directory but nothing is there. I can reconnect using SYSTEM1 again so it definitely stored it somewhere.

    Where is this list of known hosts. We're on 7.5.

    Thanks in advance,
    Mike

  • #2
    Never mind. I found the answer. The "ls" command does not list "hidden" directories. Using "ls -a" shows all the files and directories.

    Also the WRKLNK command with DSPOPT(*ALL) also does the trick.

    Comment

    Working...
    X