LinuxQuestions.org
Visit Jeremy's Blog.
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 01-16-2009, 10:04 AM   #1
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Rep: Reputation: 56
can't access computer remotely


hi all, i'm not new to using linux but am fairly new to running it, and that's a whole new ball of wax let me tell you

i'm running debian lenny and i can't seem to ssh to my box, or pull up my index.html from outside my home network. i can access the index.html from my laptop on the same network. haven't tried ssh from the laptop.

i'm assuming there's something simple in my config that i need to adjust, like perhaps the firewall. but i'm so new i'm not really sure where to start. i'm at work right now so i can't post needed info until i get home, but i do have the output from ifconfig in my email if that would help. if anything else is needed, please let me know and i will post it when i get home.

thanks!
 
Old 01-16-2009, 10:26 AM   #2
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 958

Rep: Reputation: 35
first try
ps -A |grep sshd
to determine if the ssh server is running.
if it isnt try
/etc/intt.d/sshd restart (as root)
and see if that fixes the problem..

if not post your /etc/ssh/sshd_config file here and we will see what we can do
 
Old 01-16-2009, 10:32 AM   #3
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Original Poster
Rep: Reputation: 56
thanks..

i will try that when i get home, but i seem to remember checking to make sure sshd was running when i was trying to figure this out a few days ago.

and sshd wouldn't have anything to do with the index.html not coming up, would it?

if it's important i'm using apache web server.

what commands would i use to check out my firewall settings? or where would the config file be if there is one?

thanks again!
 
Old 01-16-2009, 01:41 PM   #4
amnesiavivace
LQ Newbie
 
Registered: Sep 2008
Location: Ohio
Distribution: suse, redhat, ubuntu, fedora
Posts: 17

Rep: Reputation: 0
check if your firewall is open for http and ssh
Code:
sudo iptables -L
 
Old 01-16-2009, 04:42 PM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
i can't seem to ssh to my box, or pull up my index.html from outside my home network
Some thoughts:

Some providers block ports under 1024
Does your router has a build in firewall?
 
Old 01-16-2009, 04:59 PM   #6
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Original Poster
Rep: Reputation: 56
thanks repo.. how would i find this out?
 
Old 01-16-2009, 05:05 PM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
how would i find this out?

Quote:
Some providers block ports under 1024
perhaps look at the site from your provider or call the helpdesk

Quote:
Does your router has a build in firewall?
login on the router and take a look
 
Old 01-16-2009, 06:21 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

I suggest that you look at 'LAMP'. A lot of useful information on how you need to setup your server if you want web development. A good setup procedure if you just want web services.

This link and others are available from 'Slackware-Links'. More than just SlackwareŽ links!
 
  


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
Access X remotely depam Linux - Software 11 03-30-2006 04:15 PM
accessing my computer remotely paul44 Linux - Newbie 3 05-06-2004 09:17 AM
Remotely controlling my computer Totoro Linux - Newbie 2 03-18-2004 05:11 PM
Connecting to Computer Remotely macaddict Linux - Networking 1 10-08-2003 08:51 PM
stoppin X access remotely dai Slackware 21 07-03-2003 01:16 PM


All times are GMT -5. The time now is 12:44 AM.

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