LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-15-2017, 02:04 PM   #1
kryon
LQ Newbie
 
Registered: Feb 2009
Posts: 5

Rep: Reputation: 0
putty ssh connection refused - Fedora 20


I have Fedora 20 installed. All firewall turned off.
service iptables stop
chkconfig iptables off

service sshd status - it it active running

content of sshd_config in /etc/ssh

HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh_ssh_host_ecdsa_key

SyslogFacility AUTHPRIV
PermitRootLogin yes
RSAAuthentication yes
PubkeyAuthentication yes

AuthorizedKeysFile .ssh/authorized_keys

RhostsRSAAuthentication no
PasswordAuthentication no
ChallengeResponseAuthentication no
KerborosAuthentication no

GSSAPIAuthentication no
GSSAPICleanupCredentials no

UsePAM yes

X11Forwarding yes

AcceptEnv LANG .... ...
XMODIFIERS

Subsystem sftp /usr/libexec/openssh/sftp-server

Is there anything I am missing here?

I tried to generate putty logs but it is blank.

Thanks
 
Old 03-15-2017, 02:49 PM   #2
vivek198
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 1
check /var/log/messages or secure files to see new entries when you try to login.
You can use tcpdump to see if traffic is reaching the server when you initiate and SSH connection on client side.
permissions of the home folder and .ssh folder should be 700 only, if you are using passwordless authentication.
You can also run ssh -v for more verbose output.
 
1 members found this post helpful.
Old 03-16-2017, 12:38 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i am guessing you do not know that
Fedora 20
Fedora 21
Fedora 22
Fedora 23
and soon
Fedora 24

are all UNSUPPORTED

please install Fedora 25 ASAP
Fedora 20 went End Of Life back on "2015-06-23"
20 is missing almost TWO YEARS!!!!! of security fixes


Fedora 26 will be released soon


also fedora uses SystemD
most log files are not in "/var/log" anymore
you need to run " systemd-journalctl " or " journalctl "

Last edited by John VV; 03-16-2017 at 12:44 PM.
 
  


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
putty connection refused mlnm Linux - Newbie 2 08-09-2011 09:07 PM
[SOLVED] SSH connection refused on Fedora 13 jarrodhadfield Linux - Newbie 19 08-13-2010 12:27 PM
Connection Refused in PuTTy and SQLyog can not connect either... mtlhd Linux - Networking 2 02-27-2010 04:58 PM
ssh in fedora: connection refused zwanzig Linux - Networking 8 06-11-2004 04:26 AM
SSH PuTTy gives "connection refused" Sathington Linux - Networking 5 03-18-2004 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:29 AM.

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