Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SSH Bookmark Issue

Hi all,

I'm trying to setup an SSH bookmark to log me into the CLI of my Cisco SG300 switch by providing the username and password. When I launch the bookmark, it starts to establish the session and then I get a popup with the following:

"No RSA host key is known for [IP of switch] and you have requested strict checking. Host key verification failed."

The bookmark is setup as follows:

Type: SSH

URL: LAN IP of switch (VLAN1 SVI)

Port: 22

Username: admin username

Password: admin password

Automatic Login: YES

Authentication Method: PASSWORD

Public Host Key: Public RSA Key copied from the switch's SSH Server details.

I've probably got the wrong key or something, does anyone have any ideas where I've gone wrong?



This thread was automatically locked due to age.
Parents
  • Kudos to WajdiAyach for his PM with the solution...

    When I was copying the SSH key from the switch, I used the whole thing including ---- BEGIN SSH2 PUBLIC KEY ----

    The XG only wants to see ssh-rsa and then the key. Same also works for a Ubiquiti Cloudkey I have that uses ecdsa-sha2-nistp256 and then the public key.

    I can now successfully browse to my public IP, log into the user portal and launch an shh bookmark to get a terminal to access these devices.

    Thanks again WajdiAyach!

     
Reply
  • Kudos to WajdiAyach for his PM with the solution...

    When I was copying the SSH key from the switch, I used the whole thing including ---- BEGIN SSH2 PUBLIC KEY ----

    The XG only wants to see ssh-rsa and then the key. Same also works for a Ubiquiti Cloudkey I have that uses ecdsa-sha2-nistp256 and then the public key.

    I can now successfully browse to my public IP, log into the user portal and launch an shh bookmark to get a terminal to access these devices.

    Thanks again WajdiAyach!

     
Children
No Data