DEV Community

Discussion on: How to Set up an SSH Server on a Home Computer

Collapse
 
sraman profile image
S.R. Aman

Hey! I am a noob at all these things. When I do ifconfig it shows eno1 not eth0. Are those same? Because I am using Ubuntu 16.04. And nothing shows when I do ifconfig | grep "inet addr". And When I ifconfig | grep inet, then some IP address shows up when I try to ssh using a different machine from the different network. It shows me "error :ssh_exchange_identification: read: Connection reset by peer". Can you tell what I am doing wrong?

Collapse
 
cwoz117 profile image
Chris • Edited

Eth0 was an old convention and is used when the OS can't determine where the card is.

Eno refers to an interface on the motherboard, with the # representing which interface (for servers with more than 1) there's another set of letters to identify expansion card interfaces, but it's a google search away

This new convention is more in line with how Linux names their storage devices ie: sda, vdb, etc..

Collapse
 
bgadrian profile image
Adrian B.G.

I don't know but here are 2 tips:

Use ip not ifconfig, see how and why

Use ssh -vvv verbose mode which will tell you more details why it failed.