LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-22-2010, 04:19 AM   #1
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Rep: Reputation: 34
Connecting to debian server with putty


Hi all,

I want to connect to my debian server through putty, but only i got is the message - Network error: connection refused. I try with different setting on the server and in putty, but there is no effect.

Here are my settings:
- for the serveer i use
http://www.faqs.org/docs/securing/chap15sec122.html
Code:
          Port 22
          # listen address i changed to accept all addresses
          ListenAddress 0.0.0.0
          HostKey /etc/ssh/ssh_host_key
          ServerKeyBits 1024
          LoginGraceTime 600
          KeyRegenerationInterval 3600
          PermitRootLogin no
          IgnoreRhosts yes
          IgnoreUserKnownHosts yes
          StrictModes yes
          X11Forwarding no
          PrintMotd yes
          SyslogFacility AUTH
          LogLevel INFO
          RhostsAuthentication no
          RhostsRSAAuthentication no
          RSAAuthentication yes
          PasswordAuthentication yes
          PermitEmptyPasswords no
          AllowUsers konzo
- on putty
konzo@**.**.***.**
on port 22
and ssh selected


i have no /etc/ssh/ssh_host_key file and try to comment it but with no success.
All other lines at the config file was commented.

Anyone help?
 
Old 07-22-2010, 04:48 AM   #2
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
Connection refused means you didn't start sshd ( run /etc/init.d/ssh start ) or it doesn't start properly, check your error logs then, if you see an error from running the above command.
 
Old 07-22-2010, 05:24 AM   #3
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 34
For anyone with the same problem:
I installed openssh
apt-get install openssh-server
and after that it is ok. Thanks for the reply, Web31337. Seems by default ssh is not installed on debian distr. I previously used slackware and there it was installed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to already existing consoles using putty chaitanya1982 Linux - Networking 1 06-01-2009 05:10 AM
connecting to already existing consoles using putty chaitanya1982 Linux - Newbie 4 06-01-2009 04:54 AM
Can't SSH/Putty into Debian server rushinblue Linux - Newbie 9 10-31-2007 03:34 PM
PuTTy not connecting to RH 2.4.21-ELsmp bangulu Linux - Newbie 2 05-10-2007 03:39 AM
Using putty on windows connecting to Linux newlinfan Linux - Software 3 09-28-2005 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration