Bluehost.com Web Hosting $6.95

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

This is a discussion on newbie needs help: remote login to linux box from internal LAN within the Linux Networking forums, part of the Linux Forums category; Hello All - I've got a Red Hat 7.x gateway with a couple of Windows XP/NT machines in ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-16-2003
Brian Lappin
 
Posts: n/a
Default newbie needs help: remote login to linux box from internal LAN

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
  #2 (permalink)  
Old 07-16-2003
Xyerp
 
Posts: n/a
Default Re: newbie needs help: remote login to linux box from internal LAN

"Brian Lappin" <brianlappin@yahoo.com> wrote in message news:<bf2fvb$dsj$1@bob.news.rcn.net>...
> 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
  #3 (permalink)  
Old 07-16-2003
Stuart H
 
Posts: n/a
Default Re: newbie needs help: remote login to linux box from internal LAN

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
  #4 (permalink)  
Old 07-19-2003
Brian Lappin
 
Posts: n/a
Default Re: newbie needs help: remote login to linux box from internal LAN

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
news:pan.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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:51 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0