LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't access computer remotely (https://www.linuxquestions.org/questions/linux-newbie-8/cant-access-computer-remotely-697698/)

mattca 01-16-2009 09:04 AM

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!

dasy2k1 01-16-2009 09:26 AM

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

mattca 01-16-2009 09:32 AM

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!

amnesiavivace 01-16-2009 12:41 PM

check if your firewall is open for http and ssh
Code:

sudo iptables -L

repo 01-16-2009 03:42 PM

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?

mattca 01-16-2009 03:59 PM

thanks repo.. how would i find this out?

repo 01-16-2009 04:05 PM

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

onebuck 01-16-2009 05:21 PM

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!


All times are GMT -5. The time now is 03:30 AM.