You are here

ssh not running?

4 posts / 0 new
Last post
AD6I
AD6I's picture
ssh not running?

Greetings.

I suspect this is an RTFM, but I cant seem to find the manual.

I would like to ssh into my node. I upload a key, generated by ssh-keygen quite some time ago, and I get an error that says


I reboot the node, and still cant use ssh. Port 22 is not even open. The key is not on the list of "Remove Key" either.

Where to next?

Thanks. Robert. AD6I

AD6I
AD6I's picture
This is the image with the
This is the image with the text that I was referring to in my original post.
Image Attachments: 
K6CCC
K6CCC's picture
Port 2222  
Port 2222
 
AD6I
AD6I's picture
Yeah, port 2222 is the trick.

Yeah, port 2222 is the trick. You might see a message that says 

no matching host key type found. Their offer: ssh-rsa

You have to add -oHostKeyAlgorithms=+ssh-rsa to the ssh command. So a complete command might look like

ssh -oHostKeyAlgorithms=+ssh-rsa -p 2222 root@localnode.local.mesh

Or edit your $HOME/.ssh/config and add this

Host localnode
      Hostname localnode.local.mesh
      User root
      Port 2222
      HostKeyAlgorithms +ssh-rsa

Then all you need is:

ssh localnode

Anyhow, thanks for the pointer K6CCC. Im off and running now.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer