Results 1 to 10 of 11
when i try to log into my computer from school i get this from term
Last login: Tue Feb 8 14:19:11 on ttyp1
[I-Bruces-Computer:~] pupil% ssh -l user 80.xx.xx.xxx
ssh: ...
- 02-08-2005 #1Banned
- Join Date
- Jul 2004
- Posts
- 947
ssh
when i try to log into my computer from school i get this from term
Last login: Tue Feb 8 14:19:11 on ttyp1
[I-Bruces-Computer:~] pupil% ssh -l user 80.xx.xx.xxx
ssh: connect to address 80.xx.xx.xxx port 22: Connection refused
btw the cliant is a mac os x
the host is fedora core 3
- 02-08-2005 #2Linux Guru
- Join Date
- Mar 2003
- Location
- Wisconsin
- Posts
- 1,907
Are you sure sshd is running at home and that you've opened the port on the firewall?
JeremyRegistered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
- 02-08-2005 #3
Try this when you are home an your local box
this will tell you what tcp ports are runningCode:netstat -pant
should say something like
0.0.0.0:22 tcp Listening
sshd
Then if it is and you have a router at home you should statically assign your linux box (the one you want to ssh to) then port forward port 22 in your rounter to the static IP of your linux box. BTW you Linux box can have a static IP of 192.168.blah.blah
Let me know if I need to clarify this for you.
MikeSome people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 02-08-2005 #4Banned
- Join Date
- Jul 2004
- Posts
- 947
yes ssh is enabled on the firewall
it didnt seem asif it were even communicating it was an instant reply
what i get when i enter
# netstat -pant
tcp 0 0 :::22 :::* LISTEN 4152/sshd
- 02-08-2005 #5Banned
- Join Date
- Jul 2004
- Posts
- 947
what will the LAN Port be?
Originally Posted by adrenaline
and the public port be?
i did leave the hardware one off 2day but ill configure it anyway
- 02-08-2005 #6
Lan and wan ports are 22 by default.
If it is set up in your firewall and or router then it should be working. DId you change the configuration at all. It should work with no conf changes by default as long as you are logging in as a real user in the box.Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 02-08-2005 #7
Andy,
I just thought of something. Find out if you are not allowing the IP address of the computer you are trying to ssh in with. Maybe you firewall rules are such that it won't allow any unless you allow it. I mean maybe you need to specifically add the ip as allowed to use port 22.
Check it out and let me know.
Also in a term in root check our /var/log/secure
ctrl c gets you out of the logCode:cd /var/log tail -f secure #tail -100 secure will give you the last 100 lines in secure
MikeSome people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 02-08-2005 #8Banned
- Join Date
- Jul 2004
- Posts
- 947
it could be the school have alot of things locked
Originally Posted by adrenaline
prob this 2
i have no permissions to open ports or anything
they get their conection staright from the council and they dont really have any say on what should be locked or unlocked
dont matter
ill maybe keep it till uni or collage
till then ill try work an ftp server
- 02-08-2005 #9
I would dobt that the school would stop outbound ssh. It is possible but doubtful. If you can get the your box but it errors out that tells me that you can ssh just fine. If you are getting denyed then look at the logs and find out what the ip is and allow that ip in the firewall and you should be good to go
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 02-08-2005 #10Banned
- Join Date
- Jul 2004
- Posts
- 947
they have blocked evrything such as .exe extesnisions etc etc
Originally Posted by adrenaline
where do i get the logs?


Reply With Quote
