LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2004, 04:35 PM   #1
FatOldSun
LQ Newbie
 
Registered: Feb 2004
Posts: 19

Rep: Reputation: 0
Cannot ssh from WAN to Mandrake 9.2


I've installed Mandrake 9.2, and found that I can only ssh from the LAN and not from outside. I have set up port forwarding on the router and that's working fine. I have never had a problem with RedHat but it seems Mandrake is more secure. Is there anything I can change to make ssh available from outside the LAN? I haven't checked other ports but I assume they will be blocked as well. Below is a list of everything that's running. Thanks.

PID TTY STAT TIME COMMAND
1 ? S 0:05 init [3]
2 ? SW 0:00 [keventd]
3 ? SWN 0:00 [ksoftirqd_CPU0]
4 ? SWN 0:00 [ksoftirqd_CPU1]
5 ? SW 0:03 [kswapd]
6 ? SW 0:00 [bdflush]
7 ? SW 0:00 [kupdated]
8 ? SW 0:00 [kinoded]
9 ? SW< 0:00 [mdrecoveryd]
16 ? SW< 0:00 [raid1d]
17 ? SW< 0:00 [raid1d]
18 ? SW 0:01 [kjournald]
127 ? S 0:00 devfsd /dev
283 ? SW 0:00 [kjournald]
675 ? S 0:00 portmap
689 ? S 2:00 syslogd -m 0
697 ? S 0:00 klogd -2
740 ? S 0:00 rpc.statd
756 ? S 0:00 ypserv
794 ? S 0:01 /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
830 ? S 0:00 xfs -port -1 -daemon -droppriv -user xfs
872 ? S 0:00 rpc.ypxfrd
887 ? S 0:00 /usr/sbin/atd
902 ? S 0:00 named -u named
905 ? S 0:00 named -u named
906 ? S 0:00 named -u named
907 ? S 0:00 named -u named
908 ? S 0:00 named -u named
910 ? S 0:00 named -u named
927 ? S 0:00 /usr/sbin/sshd
952 ? S 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
980 ? S 0:01 cupsd
1089 ? SW 0:00 [nfsd]
1090 ? SW 0:00 [nfsd]
1091 ? SW 0:00 [nfsd]
1092 ? SW 0:00 [nfsd]
1093 ? SW 0:00 [nfsd]
1094 ? SW 0:00 [nfsd]
1095 ? SW 0:00 [nfsd]
1096 ? SW 0:00 [nfsd]
1097 ? SW 0:00 [lockd]
1098 ? SW 0:00 [rpciod]
1110 ? S 0:00 rpc.mountd
1126 ? S 0:00 rpc.yppasswdd
1235 ? S 0:00 crond
1253 ? S 0:00 smbd -D
1263 ? S 0:02 nmbd -D
1339 ? S 0:00 /usr/bin/SCREEN -dmS glmhansa ./hansa-server
1341 vc/2 S 0:00 /sbin/mingetty tty2
1342 vc/3 S 0:00 /sbin/mingetty tty3
1343 vc/4 S 0:00 /sbin/mingetty tty4
1344 vc/5 S 0:00 /sbin/mingetty tty5
1345 vc/6 S 0:00 /sbin/mingetty tty6
1346 pts/0 S 1:22 . hansa-server
1358 pts/0 S 0:00 . hansa-server
1359 pts/0 S 0:24 . hansa-server
1360 pts/0 S 0:19 . hansa-server
1361 pts/0 S 0:42 . hansa-server
1484 ? S 0:00 /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
1485 ? S 0:00 /sbin/apcupsd -f /etc/apcupsd/apcupsd.conf
1496 vc/1 S 0:00 /sbin/mingetty tty1
1975 ? S 0:00 smbd -D
7743 ? S 0:00 smbd -D
7755 ? S 0:01 smbd -D
7761 ? S 0:00 smbd -D
7893 ? S 0:00 smbd -D
8573 ? S 0:00 sshd: root@pts/1
8575 pts/1 S 0:00 -bash
8633 pts/1 R 0:00 ps -ax
 
Old 02-11-2004, 07:19 PM   #2
Khabi
Member
 
Registered: Aug 2003
Location: Arizona
Distribution: Gentoo
Posts: 142

Rep: Reputation: 15
uh.. first things first. Is it just not connecting or are you getting some kind of specific error message? Do the logs show anything?
 
Old 02-12-2004, 06:12 AM   #3
FatOldSun
LQ Newbie
 
Registered: Feb 2004
Posts: 19

Original Poster
Rep: Reputation: 0
If I use SSH Secure Client, it says Connection Failed. If I ssh from Linux, it says Connection Timed Out.

At the moment I'm having to VNC onto a Windows PC on the LAN and then SSH from there to the server. Not ideal!

I'm only running Mandrake at runlevel3, I'm not interested in running X.
 
  


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
SSH WAN/LAN problem Hangdog42 Linux - Security 6 10-18-2005 10:51 PM
can't access ssh on wan wazilian Linux - Networking 0 06-02-2005 03:12 PM
FreeS/Wan Vs. OpenS/Wan Vs. StrongS/Wan bkankur Linux - Security 1 03-01-2005 10:27 AM
WAN : unable to ping to WAN ckl Linux - Networking 0 11-18-2004 02:56 AM
LAN to WAN Connection MNF Mandrake Firewall? aaziz Linux - Networking 0 02-16-2004 03:25 AM


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