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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
"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? |
|
|||
|
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 |
|
|||
|
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 |