Re: ssh client gets to server, but doesn't connect...?




Allen McIntosh wrote:
/usr/ceo wrote:
... Now, I can't connect to the sshd from the outside any more. I'm using
essentially the same sshd_config file, and using tcpdump w/o
promiscuious mode, I can see the SSH traffic hitting the eth0
interface.

--- sshd_config:

Port 22
#Protocol 2,1
ListenAddress 192.168.0.2
ListenAddress 192.168.0.4

I hope your machine's IP address is one of these. Maybe you should turn
this off until you get it working?

Yeah, those are the IPs of the two NIC cards I have and LIstenAddress
lines WERE turned off initially, and I still got no answer from the
daemon to the client. So I tried enabling those as the latest "try" in
getting this to work. Either way, ListenAddress lines on or off, it
still doesn't work.

/usr/ceo

.



Relevant Pages

  • Re: sshd and IPv4 forwarding no longer working
    ... I performed a recent upgrade and possibly openssh got upgraded as well. ... sshd is showing it is running. ... unabel to forward traffic nor does sshd answer port 22. ... Perhaps because you have the listenAddress set to 0.0.0.0? ...
    (Ubuntu)
  • Re: different ssh settings for different users
    ... =>connect through the port 3309 and if there is a user mary she can ... ListenAddress 3309 ... =>Moreover is it possible to restrict some users to login only from few ... =>machines for example I want to restrict user tom that he can only ...
    (Fedora)
  • ssh: acces denied (only from remote network)
    ... ListenAddress:: ... owl:/home/mitja# debug1: read PEM private key done: type RSA ... Bind to port 22 on 0.0.0.0. ... Server listening on 0.0.0.0 port 22. ...
    (comp.os.linux.networking)
  • Re: ssh client gets to server, but doesnt connect...?
    ... I can see the SSH traffic hitting the eth0 ... interface. ... Port 22 ... ListenAddress 192.168.0.2 ...
    (comp.os.linux.networking)
  • Re: different ssh settings for different users
    ... I believe you can do this by running a different sshd for each unique ... port (using ListenAddress, Port) that you wish to allow ssh connections ... I am not able to ssh on the port 3455 whereas on port 22 I can ssh. ...
    (Fedora)