LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 10-24-2007, 05:10 AM   #16
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968

ok, well run a tcpdump on the server side and then try to connect. are you seeing the syn's coming in?
 
Old 10-24-2007, 08:53 AM   #17
lene
LQ Newbie
 
Registered: Aug 2007
Posts: 13

Original Poster
Rep: Reputation: 0
now we connected 2 hosts directly, via cross cable and everything is working!
Perhaps some problem with router, have you any guess?
there is just only one router, and it doesnt have any special restrictions on type of traffic, but its rather strange coz ping takes quite long time to reply, and i do not observe any SYN packets in tcpdump when i try to connect via ssh...
what can be the problem?
other hing is that usually you can connect using ip or dname.
when i try to connect to host 1 using its dname its ok and with IP its also ok, but from host 1 to host 2 its problem of IP and dname cannot be resolved as well: no route to host, though i specified it in dns table...
may be i need some more packages to download ?

Last edited by lene; 10-24-2007 at 10:30 AM.
 
Old 11-01-2007, 12:02 PM   #18
weisso5
Member
 
Registered: Oct 2007
Location: New York City
Distribution: Gentoo, FC
Posts: 133

Rep: Reputation: 16
Hey guys,
I am experiencing the same problem on FC7. The quick work around is change the sshd config file to port 21, restart sshd, boom back into the machine. Now i am able to troubleshoot why port 22 is being used by another application. I have a feeling that it was an update to a package, but i am not completely sure.
 
Old 11-02-2007, 03:51 AM   #19
lene
LQ Newbie
 
Registered: Aug 2007
Posts: 13

Original Poster
Rep: Reputation: 0
No, now im able to log in without password!
It was router problem, im not sure what exactly it was because the ssh, telnet traffic was enabled there, but i just changed the router it it was ok!
 
Old 02-04-2008, 06:33 AM   #20
rm22
LQ Newbie
 
Registered: May 2006
Posts: 14

Rep: Reputation: 0
Question I have a problem that i can't solved

hi

mu ssh don't work in my network, i have access to all other Pc and i can ssh any other pc, but when i like to ssh my pc, it give me the following error:
ssh: connect to host 192.168.x.x port 22: No route to host
i desactivated the firewall and the Linux SE, my linux is Centos 5.1. i tried to ping my self but i can not do anything, my iptables contains the port 22 with whool access. is any one have a try?
 
Old 02-04-2008, 07:03 AM   #21
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
rm22, please don't hijack other threads. if you have a problem, please start your own thread.
 
Old 02-07-2008, 02:21 PM   #22
lene
LQ Newbie
 
Registered: Aug 2007
Posts: 13

Original Poster
Rep: Reputation: 0
again funny problem! well
i can ssh from computer A to computer B, using just public keys (no passphrase and no password), and execute some commands.
now i decided to create a script that would do the same things - so log into computer B and execute all commands that i have to do manually. Sooo the problem is that i always get denied if i try to do it via bash!
may be i have to change some settings in sshd_config or ssh_d?
Please can somebody clarify?

Thanks
 
Old 02-09-2008, 12:39 PM   #23
shafty023
Member
 
Registered: Oct 2007
Distribution: OSX
Posts: 248

Rep: Reputation: 31
no there should be no reason to have to change anything in sshd_config or ssh_config. If it works from the command line it should work within a script.
What error are you getting? How is it denying you? I need more details of the error you're getting.
 
  


Reply

Tags
ssh


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
ssh: connection to host port: 22: Connection timed out lost connection cucolin@ Linux - Server 4 11-22-2011 07:15 AM
ssh connection refused - trying to set up ssh server at home openSauce Linux - Server 10 10-18-2007 05:38 PM
Internet connection timeout on Fedora Core 5 using USB connection mike1111 Linux - Networking 0 07-23-2006 10:44 PM
wireless connection ok with knoppix dvd , no connection with installed fedora 4 docharmony Linux - Wireless Networking 2 11-27-2005 05:33 PM
ssh in fedora: connection refused zwanzig Linux - Networking 8 06-11-2004 05:26 AM


All times are GMT -5. The time now is 07:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration