LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-24-2014, 01:04 AM   #1
Mohit Asija
LQ Newbie
 
Registered: Nov 2013
Location: India,New Delhi
Distribution: fedora
Posts: 18

Rep: Reputation: Disabled
Cool SSH linux machine through PuTTy Window 7(wireless).


Hello,

I want to access my base machine that is having fedora 20. my fedora(192.168.1.36) machine is configured through lan behind Dlink 2750U , i have another machine(laptop) having window7(192.168.1.33) that is connected wirelessly to Dlink2750U . i want to access fedora machine through my laptop so, here are few things..

1) Both machines are able to ping each other.
2) Firewall is stop,iptables are flush,SELINUX disabled in linux machine.
3) firewall is disable in window machine.

BUT I AM NOT ABLE TO SSH MY FEDORA MACHINE IT SHOWS ACCESS DENIED.

i had tried all the possible settings in modem as well.

Port forwarding and all, modem firewall..

Please help me !!

Regards,
Mohit Asija
 
Old 07-24-2014, 02:22 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,504

Rep: Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572
Have you checked that sshd is running on your Fedora machine?

Are you trying to ssh with "root" as the account or using another user?

What ssh client are you using on your Win7 laptop?
 
Old 07-24-2014, 03:40 AM   #3
Mohit Asija
LQ Newbie
 
Registered: Nov 2013
Location: India,New Delhi
Distribution: fedora
Posts: 18

Original Poster
Rep: Reputation: Disabled
Yes sshd is running on base machnine!!!

I had tried to login as root and my user account also!

I am using Putty on my window7 and tried with kitty also!
 
Old 07-24-2014, 03:43 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,504

Rep: Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572
Does Putty have any extended logging or "verbose" output you can enable?

Also post the output of
Code:
netstat -lnp
from your Fedora server.

Last edited by TenTenths; 07-24-2014 at 03:44 AM.
 
1 members found this post helpful.
Old 07-24-2014, 03:52 AM   #5
Mohit Asija
LQ Newbie
 
Registered: Nov 2013
Location: India,New Delhi
Distribution: fedora
Posts: 18

Original Poster
Rep: Reputation: Disabled
I am in office right now, will provide you abstract details when i reach home!

Thank you,
 
Old 07-24-2014, 12:07 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Is the fedora machine able to ssh to itself using both 127.0.0.1 and 192.168.1.36 for the address?

If it can't with either, then it's a firewall/sshd config issue on the Fedora machine
If it can with 127.0.0.1 but not with 192.168.1.36 then it could be a firewall issue or a networking issue on the Fedora machine
If it can with both, then it could be a firewall issue or a Windows/router issue

If it can't ssh to itself, you can use "ssh -vvv" to get more verbose output.

You can also check /var/log/secure (or whatever Fedora's equivalent is) for any related errors.

Last edited by suicidaleggroll; 07-24-2014 at 12:10 PM.
 
1 members found this post helpful.
Old 07-24-2014, 01:49 PM   #7
Mohit Asija
LQ Newbie
 
Registered: Nov 2013
Location: India,New Delhi
Distribution: fedora
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thank you All, really really thankyou!! the problem found to be sshd is in dead state ,
Quote:
netstat -lnp and /var/log/secure
saves my day!!
 
Old 07-25-2014, 01:46 AM   #8
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,504

Rep: Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572Reputation: 1572
Glad you got sorted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to control window xp machine from linux machine thro wired network pemravi007rediff Linux - Networking 1 06-13-2012 03:21 AM
use putty connect my linux machine yang_wayne Linux - Newbie 13 01-26-2009 02:18 PM
How to Transfer files between Linux machine and Window Machine rktech83 Linux - Networking 7 03-14-2006 03:10 AM
i can't browse my linux machine from windows machine's network neighbourhood window yagneshmistry Linux - Networking 2 08-10-2004 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:43 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