Forums

Home Forums General Configuration macOS ssh into router

macOS ssh into router

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6140
    johnnyjackhammer
    Participant

    Something has changed. I was able to do this before and no I am getting this whilst trying:

    11:53:44.213 at iMac191 ~ sudo ssh [email protected].1
    Unable to negotiate with 192.168.10.1 port 22: no matching host key type found. Their offer: ssh-rsa

    I don’t have any SSH keys in the router. Do I need that and if so how to add them on macOS?
    Thanks

    I have both enable ssh and ssh with login password selected

    #6141
    support
    Keymaster

    Your macOS probably just received an updated version of ssh, which no longer accept ssh-rsa host keys by default. You may add this option to the command line: ssh -oHostKeyAlgorithms=+ssh-rsa [email protected].1

    #6142
    johnnyjackhammer
    Participant

    13:16:36.062 at iMac191 ~ ssh -oHostKeyAlgorithms=+ssh-rsa [email protected].1
    ssh: connect to host 192.168.10.1 port 22: Connection refused

    13:17:14.390 at iMac191 ~ sudo ssh -oHostKeyAlgorithms=+ssh-rsa [email protected].1
    ssh: connect to host 192.168.10.1 port 22: Connection refused

    #6143
    johnnyjackhammer
    Participant

    never mind… I had unchecked one of the boxes. Working now thank you!

    If I want to add ssh keys? is there a guideline for macOS?

    #6163
    support
    Keymaster
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.