Networking Forums

Networking Forums > Computer Networking > Linux Networking > newbie needs help: remote login to linux box from internal LAN

Reply
Thread Tools Display Modes

newbie needs help: remote login to linux box from internal LAN

 
 
Brian Lappin
Guest
Posts: n/a

 
      07-16-2003, 03:18 AM
Hello All -

I've got a Red Hat 7.x gateway with a couple of Windows XP/NT machines in my
internal LAN. I'd like to initiate a shell session on my Linux box from one
of my Windows machines. When I try to SSH or Telnet to the Linux box, the
connection is refused.

Any help is much appreciated.

Brian


 
Reply With Quote
 
 
 
 
Xyerp
Guest
Posts: n/a

 
      07-16-2003, 11:21 AM
"Brian Lappin" <(E-Mail Removed)> wrote in message news:<bf2fvb$dsj$(E-Mail Removed)>...
> Hello All -
>
> I've got a Red Hat 7.x gateway with a couple of Windows XP/NT machines in my
> internal LAN. I'd like to initiate a shell session on my Linux box from one
> of my Windows machines. When I try to SSH or Telnet to the Linux box, the
> connection is refused.
>
> Any help is much appreciated.
>
> Brian


firewall?
 
Reply With Quote
 
Stuart H
Guest
Posts: n/a

 
      07-16-2003, 01:44 PM
On Wed, 16 Jul 2003 05:54:49 -0400, Captain Dondo wrote:

> On Tue, 15 Jul 2003 20:18:58 +0000, Brian Lappin wrote:
>
>> Hello All -
>>
>> I've got a Red Hat 7.x gateway with a couple of Windows XP/NT machines in my
>> internal LAN. I'd like to initiate a shell session on my Linux box from one
>> of my Windows machines. When I try to SSH or Telnet to the Linux box, the
>> connection is refused.
>>
>> Any help is much appreciated.
>>
>> Brian

>
> Make sure sshd is running on the RedHat box. You can do this 3 ways:
>
> run it from init (man inittab), inetd (or is it xinetd in RH 7.3?) -
> anyway man inetd or xinetd, or from the startup scripts in
> /etc/rc.d/init.d.
>
> First you have to make sure sshd is installed. rpm -qa | grep ssh should
> tell you if ssh is installed.
>
> [yan@poseidon yan]$ rpm -qa | grep ssh
> kdessh-3.0.3-3
> openssh-server-3.4p1-2
> openssh-clients-3.4p1-2
> openssh-askpass-3.4p1-2
> openssh-3.4p1-2
> openssh-askpass-gnome-3.4p1-2
> [yan@poseidon yan]$
>
> Then see if you have the startup scripts.
>
> [yan@poseidon yan]$ ls -l /etc/rc.d/init.d/ssh*
> -rwxr-xr-x 1 root root 2647 Aug 14 2002 /etc/rc.d/init.d/sshd
> [yan@poseidon yan]$
>
> then run (as root) chkconfig sshd on
>
> and that should start sshd on the reboot. In the meantime, you can run it
> manually by running /etc/rc.d/init.d/sshd as root.
>
> If you still get no connection, then you have to figure out what's
> blocking the connection - like a firewall.
>
> -Dondo


Also remember to update your sshd - there have been security updates since
7.3
Check out RedHat's errata for updates
 
Reply With Quote
 
Brian Lappin
Guest
Posts: n/a

 
      07-19-2003, 07:50 PM
I think my problem is that the SSH server is not intalled on my machine.

I get the following:
[root@dhcp-1765-1 init.d]# rpm -qa |grep ssh
openssh-3.1p1-3
kdessh-3.0.0-4
openssh-askpass-3.1p1-3
openssh-askpass-gnome-3.1p1-3
openssh-clients-3.1p1-3
Which brings me to my next issue: I am having trouble intalling the openssh
package.I tried using the graphical KPackage program without luck. I
downloaded newest package from RH, but it doesn't seem to want to intall.
Pls help!Thx.



"Stuart H" <post@to_group.com> wrote in message
newsan.2003.07.16.13.44.27.657533@to_group.com.. .
> On Wed, 16 Jul 2003 05:54:49 -0400, Captain Dondo wrote:
>
> > On Tue, 15 Jul 2003 20:18:58 +0000, Brian Lappin wrote:
> >
> >> Hello All -
> >>
> >> I've got a Red Hat 7.x gateway with a couple of Windows XP/NT machines

in my
> >> internal LAN. I'd like to initiate a shell session on my Linux box

from one
> >> of my Windows machines. When I try to SSH or Telnet to the Linux box,

the
> >> connection is refused.
> >>
> >> Any help is much appreciated.
> >>
> >> Brian

> >
> > Make sure sshd is running on the RedHat box. You can do this 3 ways:
> >
> > run it from init (man inittab), inetd (or is it xinetd in RH 7.3?) -
> > anyway man inetd or xinetd, or from the startup scripts in
> > /etc/rc.d/init.d.
> >
> > First you have to make sure sshd is installed. rpm -qa | grep ssh

should
> > tell you if ssh is installed.
> >
> > [yan@poseidon yan]$ rpm -qa | grep ssh
> > kdessh-3.0.3-3
> > openssh-server-3.4p1-2
> > openssh-clients-3.4p1-2
> > openssh-askpass-3.4p1-2
> > openssh-3.4p1-2
> > openssh-askpass-gnome-3.4p1-2
> > [yan@poseidon yan]$
> >
> > Then see if you have the startup scripts.
> >
> > [yan@poseidon yan]$ ls -l /etc/rc.d/init.d/ssh*
> > -rwxr-xr-x 1 root root 2647 Aug 14 2002

/etc/rc.d/init.d/sshd
> > [yan@poseidon yan]$
> >
> > then run (as root) chkconfig sshd on
> >
> > and that should start sshd on the reboot. In the meantime, you can run

it
> > manually by running /etc/rc.d/init.d/sshd as root.
> >
> > If you still get no connection, then you have to figure out what's
> > blocking the connection - like a firewall.
> >
> > -Dondo

>
> Also remember to update your sshd - there have been security updates since
> 7.3
> Check out RedHat's errata for updates



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can i use Routing and Remote Access to connection two internal networks. Ian Groves Windows Networking 4 03-01-2005 02:22 PM
Remote Login To MN-700 BBCC Broadband Hardware 7 01-03-2005 04:44 PM
remote login waldman Windows Networking 1 09-28-2004 05:13 PM
Remote login to Linux from Windows 98 Larry Linux Networking 5 09-09-2004 05:51 PM
Problem with IP Masquerade + routed internal network (pretty newbie question) Dragan Linux Networking 0 07-14-2003 03:11 PM



1 2 3 4 5 6 7 8 9 10 11