You are not logged in.

#1 2020-05-30 06:24:29

keepTy
Member
Registered: 2020-05-30
Posts: 2

SSH to live USB is not working after following steps in ArchWiki

Hello! I am having a problem getting ssh to work on my live Arch USB.

I followed the instructions in Install Arch Linux via SSH, and my live USB (connected to my Atomic Pi computer board, which does run on x86_64 architecture by the way smile ) --

  • is booted

  • is connected to the internet (as verified by ping)

  • has passwd set for root

  • has PermitRootLogin set to "Yes" in /etc/ssh/sshd_config

  • and is actively running the sshd service (as verified by systemctl)

For some reason, when I try to access it from my other devices at it's local address with ssh root@10.0.0.X, it times out.

Any ideas what I can do to debug this?

Thank you!

Last edited by keepTy (2020-05-30 06:25:27)

Offline

#2 2020-05-30 06:40:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: SSH to live USB is not working after following steps in ArchWiki

ping 10.0.0.X
nmap -p22 10.0.0.X
ssh -T root@10.0.0.X hostname

If the last command works, you can ssh, but not get an PTY. If you omit "hostname", you should™ get an interactive shell, but no prompt (the session is wating for input and if you enter "date" you should get the current date)

A recently very popular reason for a broken PTY situation has been colliding dhcpcd services (the global one and one or more on the specific NICs)

Offline

#3 2020-05-30 06:58:02

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: SSH to live USB is not working after following steps in ArchWiki

keepTy wrote:

[*]is connected to the internet (as verified by ping)[/*]

You have console access to the device then? Post the output of `ss -tnlp` and then run `tcpdump -lnniany port 22` and try to connect over SSH.

Offline

Board footer

Powered by FluxBB