You are not logged in.

#1 2015-01-21 01:42:15

avr
Member
Registered: 2014-09-25
Posts: 30

Can't SSH into arch installation from JuiceSSH

I'm attempting to SSH into my arch desktop. When I use JuiceSSH from my phone, I get the error message: "java.net.SocketException: recvfrom fail: ECONNRESET". I'm connecting directly to my computer's IPv4 address on my lan.

Here is my firewall setup

$ ss -tnlp                       
State      Recv-Q Send-Q        Local Address:Port          Peer Address:Port 
LISTEN     0      128                      :::22                      :::*
...

I have also ran:

$ systemctl enable sshd.socket
$ systemctl enable sshd.service
$ systemctl start sshd.socket
$ systemctl start sshd.service

Does anyone know what is wrong with my setup? I have used SSH to connect to other computers on other networks before and haven't had a problem.

Offline

#2 2015-01-21 01:55:29

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Can't SSH into arch installation from JuiceSSH

What is in the server's logs (if anything)?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-01-21 04:54:07

avr
Member
Registered: 2014-09-25
Posts: 30

Re: Can't SSH into arch installation from JuiceSSH

jasonwryan wrote:

What is in the server's logs (if anything)?

Where can I find the sshd logs? I don't see them in /var/log

Offline

#4 2015-01-21 05:07:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Can't SSH into arch installation from JuiceSSH

In your journal...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-01-22 04:03:45

avr
Member
Registered: 2014-09-25
Posts: 30

Re: Can't SSH into arch installation from JuiceSSH

avr wrote:
jasonwryan wrote:

What is in the server's logs (if anything)?

Where can I find the sshd logs? I don't see them in /var/log

Forgive me, I'm a systemd noob.

$ journalctl -xe

Showed I had a bad config file. Works now.

Offline

#6 2015-01-22 05:07:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Can't SSH into arch installation from JuiceSSH

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB