LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-27-2006, 01:32 AM   #1
ethnicme
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Rep: Reputation: 0
Configuring sshd - Cannot remote from other linux


Hi.. Im really new into the use of linux systems. Can someone help me on my problem.

I have two computers.. One is using a FEDORA as OS and the other is using SUSE.. I have a problem connecting to my SUSE Linux using SSH but if I use SUSE to connect to FEDORA I can easily connect..

I tried modifying the /etc/ssh/sshd_config file... but still I cannot connect to the SUSE linux.

Are there other files that I should me modifying..?..?..
 
Old 06-27-2006, 02:47 AM   #2
yull
Member
 
Registered: Dec 2004
Location: Belgium
Distribution: debian
Posts: 48

Rep: Reputation: 15
what's the error message?
are you trying to connect using root? often connecting with root user is not allowed (for security reasons)
 
Old 06-27-2006, 03:31 AM   #3
ethnicme
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Original Poster
Rep: Reputation: 0
this is the command that I used

Code:
ssh 192.168.1.100 -l ethnicme
and this is the error that comes out
Code:
ssh: connect to host 192.168.1.100 port 22: No route to host
 
Old 06-27-2006, 04:03 AM   #4
yull
Member
 
Registered: Dec 2004
Location: Belgium
Distribution: debian
Posts: 48

Rep: Reputation: 15
can you ping the machine?
 
Old 06-27-2006, 05:03 AM   #5
ethnicme
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Original Poster
Rep: Reputation: 0
yes I can ping the SUSE linux and vice versa...

are there any other files I should be modifying..

I also set the hosts.deny and the hosts.allow to proper settings.. but still I cannot log into the SUSE linux..
 
Old 06-27-2006, 01:51 PM   #6
yull
Member
 
Registered: Dec 2004
Location: Belgium
Distribution: debian
Posts: 48

Rep: Reputation: 15
don't you have a default firewall setup? iptables or somethin?
 
Old 06-27-2006, 03:00 PM   #7
sirmerced
LQ Newbie
 
Registered: Nov 2005
Location: England
Distribution: Suse 10.0 on a Pentium II 400 mhz computer. A real linux pc!
Posts: 7

Rep: Reputation: 0
Have you tried SSH-ing into the same box. IE if your pc you are ssh-ing from is 192.168.1.45, then try to ssh to that box.
 
Old 06-27-2006, 11:58 PM   #8
ethnicme
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Yes I do think I have a firewall..
because when I try to restart the network..
Code:
Setting up network interfaces:
    lo
    lo        IP address: 127.0.0.1/8                                 done
    eth0      device: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
    eth0      configuration: eth-id-00:11:5b:fc:db:86
    eth0      (DHCP) . . . . . IP/Netmask: 192.168.1.152 / 255.255.255.0 ('pixelstream')
Error while executing:
   Command 'ip route replace to 192.168.1.2/24 via 192.168.1.2 dev eth0' returned:
  RTNETLINK answers: Invalid argument
   Configuration line: 192.168.1.2 192.168.1.2 255.255.255.0 eth-id-00:11:5b:fc:db:86
Error while executing:
   Command 'ip route replace to 192.168.1.1/24 via 192.168.1.1 dev eth0' returned:
  RTNETLINK answers: Invalid argument
   Configuration line: 192.168.1.1 192.168.1.1 255.255.255.0 eth-id-00done5b:fc:db:86
Setting up service network  .  .  .  .  .  .  .  .  .  .  .  .  .  .  done
SuSEfirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled.
SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
SuSEfirewall2: batch committing...
SuSEfirewall2: Firewall rules successfully set
it can connect to other linux computer using ssh..
 
Old 06-28-2006, 02:35 AM   #9
yull
Member
 
Registered: Dec 2004
Location: Belgium
Distribution: debian
Posts: 48

Rep: Reputation: 15
Sorry I don't know anything about firewalling with linux
somebody else, maybe?
 
Old 06-28-2006, 11:44 PM   #10
ethnicme
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Original Poster
Rep: Reputation: 0
yes I have allowed the sshd service in the firewall..

but still when I logged..

an error stating that..

Code:
No error could be made because the target machine actively refused it

are there other configuration files on where I can modify the allow of access through SSH..?..
 
Old 06-30-2006, 08:57 PM   #11
carcassonne
Member
 
Registered: Jul 2005
Distribution: Fedora6 x86_64
Posts: 118

Rep: Reputation: 15
Quote:
Originally Posted by ethnicme
No error could be made because the target machine actively refused it
A simple Google (or clusty.com if you prefer) on "because the target machine actively refused it" shows a strong tendancy towards it being a Microsoft (dot net whatever crap) error message,

I was wondering about such a use of words: "No error could be made...". That's either hyper-geek or hyper-loonie.

Anyhow, you could perhaps try on a MS forum. Or two.

As for SuSE, I set up lots of virtual machines (9.3 and 10.0) and I enable ssh and there's absolutely nothing to it. If you can ping, you can ssh. Between Linux machines, that is.
 
Old 07-02-2006, 11:50 PM   #12
ethnicme
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by carcassonne
....
....
I was wondering about such a use of words: "No error could be made...". That's either hyper-geek or hyper-loonie.
....
....
I forgot I was using a a ssh software runned by widows xp..

the software was [b]bitwise tunnelier[b]..

anyway.. guys I got it running already..

thank for the offered help guys..
 
  


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
winxp remote desktop via sshd linux box? taiwf Linux - Software 4 06-06-2006 09:42 PM
sshd refusing remote connection from SecureCRT 60s TV Batman *BSD 2 06-08-2005 04:45 PM
sshd and suse 9.1, need help configuring it oily_rags Linux - Networking 2 09-11-2004 06:24 PM
Configuring services, sshd and Samba scarr3d Debian 2 02-26-2004 06:36 PM
configuring sshd to datisfy LAM-MPI Hano Linux - Networking 2 09-23-2003 05:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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