do ssh -v localhost after installing the sshd services and starting the ssh server. This will give you the details the what is causing the connection to fail.
On 01/11/2009, Jari Fredriksson <ja...@iki.fi> wrote: > > > 31.10.2009 15:43, Roy Stuivenberg kirjoitti: > >> (Connection failed Service sshd >> >> Date: Sat, 31 Oct 2009 03:51:03 +0100 >> Action: restart >> Host: rs-debian >> Description: 'sshd' failed, cannot open a connection to >> INET[localhost:50022] via TCP >> > > Trying to connect to TCP port 50022.. > >> ----------------------------------- >> sshd_config : >> >> # What ports, IPs and protocols we listen for >> Port 22 > > But sshd listens only 22. > > You can add an additional port, if you wish to keep the 22. > > Port 22 > Port 50022 > > > -- > http://www.iki.fi/jarif/ > > Water, taken in moderation cannot hurt anybody. > -- Mark Twain > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org