You are not logged in.
Pages: 1
I have a laptop whete archlinux is installed since 10 minuter and a desktop where I have arch since 1 year.
I don't know why but the openssh server don't work in my archlinux systems (the clients work perefectly I tested it with a raspberry).
The laptop ping perfectly the desktop and the desktop ping perfectly the laptop as well.
I've used that for install and "setup" the openssh
#pacman -S openssh
#systemctl start sshd
#systemctl enable sshd
some ideas?
Last edited by racerider94 (2016-08-28 23:21:04)
Offline
Relevant journalctl output?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Hello racerider94,
You haven't provided us with enough details as to what your problem is. What exactly doesn't work about the SSH server?
Offline
if I try to connect my laptop to my desktop or my desktop to my laptop via ssh it go in outtime, I don't konw what is wrong in my pc... this is the status
$ sudo systemctl status sshd
● sshd.service - OpenSSH Daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset:
Active: active (running) since dom 2016-08-28 18:37:01 CEST; 19min ago
Main PID: 11841 (sshd)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/sshd.service
└─11841 /usr/bin/sshd -D
ago 28 18:37:01 ArchFisso systemd[1]: Started OpenSSH Daemon.
ago 28 18:37:01 ArchFisso sshd[11841]: Server listening on 0.0.0.0 port 22.
ago 28 18:37:01 ArchFisso sshd[11841]: Server listening on :: port 22.
lines 1-11/11 (END)
Offline
Your sshd server appears to be running just fine ... do you have a firewall blocking anything? What happens if you try connecting from the localhost, ie:
ssh localhost
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
it look work, but if I try open a ftp connection with my android it work... and my android phone have the same firewall rules of my desktop and laptop
Offline
I don't understand your last post. FTP is not SSH, they run on different ports. If you can connect from the localhost the next experiment is to try from another machine on the LAN. If that works, and if you're trying to connect from your phone (3G or LTE) you'll need to forward the ssh port in your router to the machine running sshd. If your phone is on wifi then it's no different than "another machine on the LAN" from this perspective.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
i've open the port 22 on my router for the ip of my desktop, but if I try to connect my laptop to my desktop it don't work
Offline
Pass verbose flags and paste the full output.
Moving to NC...
Offline
Since your firewall seems to be causing issues, could you post the rules of your laptop and desktop?
Offline
Since your firewall seems to be causing issues, could you post the rules of your laptop and desktop?
you're right, was the firewall rules the cause!
Offline
Awesome that you fixed your problem! Make sure to edit the thread title and prepend "[SOLVED]" to it.
Offline
yes I will, thank you so much!
Offline
Pages: 1