You are not logged in.
Hi!
I have a problem with ssh connexion with a pc and a laptop.
I can access to my pc with my laptop with ssh, but can't reach my laptop with my pc...
The command line with verbose option shows:
[xxx@Klug ~]$ ssh -v xxx@192.168.0.11
OpenSSH_5.9p1, OpenSSL 1.0.0e 6 Sep 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: auto-mux: Trying existing master
debug1: Control socket "/home/xxx/.ssh/socket-xxx@192.168.0.11:22" does not exist
debug1: Connecting to 192.168.0.11 [192.168.0.11] port 22.
debug1: Connection established.
debug1: identity file /home/xxx/.ssh/id_rsa type -1
debug1: identity file /home/xxx/.ssh/id_rsa-cert type -1
debug1: identity file /home/xxx/.ssh/id_dsa type -1
debug1: identity file /home/xxx/.ssh/id_dsa-cert type -1
debug1: identity file /home/xxx/.ssh/id_ecdsa type -1
debug1: identity file /home/xxx/.ssh/id_ecdsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
The laptop haven't iptables or anything else like this. I don't know why the connexion is refused...
If someone have any idea?
Last edited by Agamemnon (2011-10-16 11:52:26)
Pc: Intel core i7, 8Gb RAM, Archlinux 64bits, Gnome 3
Laptop 1: Intel Core2Duo, 4Gb RAM, Archlinux 64bits, Gnome 3
Laptop 2: Intel P4 HT, 512Mb RAM, Archlinux 32 bits, Gnome 3 too
Offline
After a quick google search, this thread came up. There seems to be a couple of solutions in there, do any of them work?
Offline
I know this thread but no solution work. I haven't host.allow or deny files now that the package is no more in base, and my /var/run is owned by root, and /var/empty exists...
Pc: Intel core i7, 8Gb RAM, Archlinux 64bits, Gnome 3
Laptop 1: Intel Core2Duo, 4Gb RAM, Archlinux 64bits, Gnome 3
Laptop 2: Intel P4 HT, 512Mb RAM, Archlinux 32 bits, Gnome 3 too
Offline
What OS do you have on your laptop and desktop? Arch on both?
Have you checked your configuration on both your laptop and desktop?
Offline
Both computers have a fresh install of archlinux with the same config: systemd and gnome 3.2. The only difference: the laptop uses laptop-mode.
Pc: Intel core i7, 8Gb RAM, Archlinux 64bits, Gnome 3
Laptop 1: Intel Core2Duo, 4Gb RAM, Archlinux 64bits, Gnome 3
Laptop 2: Intel P4 HT, 512Mb RAM, Archlinux 32 bits, Gnome 3 too
Offline
Make sure that you have the correct permissions set on both ~/.ssh and the files in that folder - ssh is very particular about that...
Offline
I have read again and again the configuration files in etc/ssh and something was wrong in some tweak I've made to speed up the connexion... I've corrected that and it works now!
Pc: Intel core i7, 8Gb RAM, Archlinux 64bits, Gnome 3
Laptop 1: Intel Core2Duo, 4Gb RAM, Archlinux 64bits, Gnome 3
Laptop 2: Intel P4 HT, 512Mb RAM, Archlinux 32 bits, Gnome 3 too
Offline