Relatively new to Arch, so bear with me as I stumble through this. This morning I was SSHing into my Raspberry PI 2 with Arch installed. For various reasons, I performed a clean install following the handy instructions here:http://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2 and booted successfully.
And now, I can't SSH into the PI. Plugging it into the router gives me a local IP, which I can ping successfully, but cannot ssh in. I get a Connection Refused error, and when I run with verbosity I find an error of ssh_connect: needpriv 0.
$this->bbcode_second_pass_code('', ' jake@Engineer3 ~ $ ping 10.0.0.18
PING 10.0.0.18 (10.0.0.18) 56(84) bytes of data.
64 bytes from 10.0.0.18: icmp_seq=1 ttl=64 time=3.36 ms
64 bytes from 10.0.0.18: icmp_seq=2 ttl=64 time=1.77 ms
^C
--- 10.0.0.18 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 1.773/2.567/3.362/0.796 ms
jake@Engineer3 ~ $ ssh -vv root@10.0.0.18
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.0.0.18 [10.0.0.18] port 22.
debug1: connect to address 10.0.0.18 port 22: Connection refused
ssh: connect to host 10.0.0.18 port 22: Connection refused')
So I pulled up /etc/ssh/sshd_config and changed these lines (the best I could find as a solution on other sources on the internet):
$this->bbcode_second_pass_code('', ' PermitRootLogin yes
PasswordAuthentication yes
PermitEmptyPasswords yes')
I want to be able just SSH in with the typical root/root user/pass. Security doesn't matter as it'll only be running locally with no ports forwarded.
And one more thing, I can't gain access to the internet and use a monitor all at once. I have to either operate headerless and connected to my router, or move into the other room with an hdmi television to make any changes. So I've been running back and forth all morning testing and swapping rooms. I can't really install any new software (like dialog for wireless) without first gaining access to my PI. So this SSH has become pretty important
Can you help me get back into my machine? Any help you have would be greatly appreciated, this has been a hell of a morning.
Edit, had a similiar problem to what it sounds like lots of people are having when they update pacman -Syu. But I already changed the PermitRootLogin to yes, so I can't figure out what else to do