Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-21-2013, 12:48 PM
|
#1
|
LQ Newbie
Registered: Jun 2011
Posts: 21
Rep: 
|
Other machine CANNOT SSH into it but the machine CAN ssh into other machines.
Hello,
I installed the fedora liveCD after booting it of a USB drive.
However I had some issues with ssh. I could ssh to any other machine in network from that machine but could not SSH into it from other machines.
I noticed the services option was absent from the admin menu. I installed it via the system-config-services rpm. But yet was unable to SSH into it.
I ensured that the sshd daemon was running via the chkconfig sshd on command.
There is something funny in this installation. I noticed that the ifcfg-eth0 file was mising from the /etc/sysconfig/network-script folder. So I copied over this file from another machine , made appropriate changes to the file w.r.t mac address and IP address. BUt yet am not able to ssh into it.
I just get a message "no route to host".
I can ping into this machine from any other machine but cannot ssh into it.
I am wondering why the ifcfg-eth0 did not get generated duing the installation process.
I have been struggling on this for the past 3 days. Would apprecaite if someone can let me know what I should do to resolve this issue.
Regards
|
|
|
05-21-2013, 02:08 PM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
|
if you are running Fedora 16 or newer, as you should be if you are running Fedora, then you need to do a few things.
1. set SELinux to passive.
2. Verify that iptables is properly configured to allow port 22 access via your LAN, or as this is a laptop you can open port 22 to all IP ranges.
Those two features are PROTECTING your system as designed. This is a good thing.
|
|
|
05-22-2013, 12:03 AM
|
#3
|
LQ Newbie
Registered: Jun 2011
Posts: 21
Original Poster
Rep: 
|
Thanks very much. Your suggestions helped me. I made a change in iptables to accept 22 and it worked. Thanks for your time and valuable suggestion. Have a great day.
|
|
|
05-22-2013, 01:20 AM
|
#4
|
Member
Registered: Oct 2012
Location: Tucson, AZ
Distribution: Debian/CentOS
Posts: 124
Rep:
|
Awesome, good to hear you got it fixed! I was also going to reply that it could be a problem with iptables blocking port 22, but I wouldn't have thought about setting SELinux to passive. Was this also something you applied in the fix?
|
|
|
05-22-2013, 07:26 AM
|
#5
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
|
Quote:
Originally Posted by monag
Thanks very much. Your suggestions helped me. I made a change in iptables to accept 22 and it worked. Thanks for your time and valuable suggestion. Have a great day.
|
very welcome. good to hear it.
|
|
|
All times are GMT -5. The time now is 01:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|