Ubuntu Minimal 18.04 LTS (v1.0) ssh problem

Post Reply
k06a
Posts: 3
Joined: Sat Aug 04, 2018 4:15 pm
languages_spoken: English, Russian
ODROIDs: ODROID-xu4
Contact:

Ubuntu Minimal 18.04 LTS (v1.0) ssh problem

Unread post by k06a » Sat Aug 04, 2018 4:57 pm

Just loaded ODROID-xu4 with Ubuntu Minimal build. Successfully connected to localhost ssh on ODROID itself:

Code: Select all

$ ssh 127.0.0.1
But have troubles connecting from a different host:

Code: Select all

$ arp -a
****
? (192.168.1.50) at 0:1e:6:**:**:** on en0 ifscope [ethernet]
****

Code: Select all

$ ssh root@192.168.1.50
write: Software caused connection abort
Checked "PermitRootLogin yes" record in /etc/ssh/sshd_config – this is defaulr for this build.

User avatar
mad_ady
Posts: 5272
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Contact:

Re: Ubuntu Minimal 18.04 LTS (v1.0) ssh problem

Unread post by mad_ady » Sat Aug 04, 2018 7:43 pm

Try ssh -vvv for more info

User avatar
odroid
Site Admin
Posts: 29750
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: Ubuntu Minimal 18.04 LTS (v1.0) ssh problem

Unread post by odroid » Mon Aug 06, 2018 9:44 am

Could you ping to XU4 from the different host?

rossdanderson
Posts: 1
Joined: Wed Aug 08, 2018 4:09 am
languages_spoken: english
Contact:

Re: Ubuntu Minimal 18.04 LTS (v1.0) ssh problem

Unread post by rossdanderson » Wed Aug 08, 2018 4:16 am

Try logging in from your external maxhine and then immediately check the sshd logs by running:
`sudo systemctl status sshd`

If you see `Could not load host key`... then basically the server hasn't generated ssh keys.

You can kick it off to do so by running
`sudo dpkg-reconfigure openssh-server`

Not super useful for a headless image, but fast to resolve!

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 0 guests