You are not logged in.
Hello,
I can't connect to one PC from my home LAN using ssh in a console.
In KDE, i can connect using this:
fish://user@192.168.2.102:11111/home/user
But, if i open a console (konsole), i can't ssh'ing to the same computer. What i try:
ssh -p 11111 user@192.168.2.102
ssh -p 11111 192.168.2.102
But nothing happens. There isn't connection.
So, what am i doing bad?
thanks
Last edited by dienadel (2008-05-02 13:51:04)
Offline
Have you tried "ssh localhost" on the computer in question?
Offline
Have you tried "ssh localhost" on the computer in question?
I understand as the "computer in question" the one that have the ssh server running. Here is the results of the tests:
ssh localhost:11111 ---> ssh: localhost:11111: Name or service not known
ssh 127.0.0.1:11111 ---> ssh: 127.0.0.1:11111: Name or service not known
ssh -p 11111 user@127.0.0.1 ---> ssh_exchange_identification: connection closed by remote host
The only daemons running are network, iptables and ssh
If more information needed, say it please
Thanks!
Offline
Here is my hosts.allow file
#
# /etc/hosts.allow
#
SSHD: ALL
# End of file
Change yours at your caution.. but with this it will work
Are u listening?
Offline
Here is my hosts.allow file
# # /etc/hosts.allow # SSHD: ALL # End of file
Change yours at your caution.. but with this it will work
Well, it worked, But, then, i tested the following options:
SSHD: ALL
SSHD: 192.168.2.100
sshd: 192.168.2.100
And all off them worked fine.
So, i think that the original file had some typping mistake. But, why fish://user@192.168.2.102:11111/home/user worked? At least, now is perfect.
Thanks!
Offline
Ah, the blasted hosts.allow/deny files. They've been the less-than-obvious solution for me in many situations, hehe. Glad it works!
Offline