Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ssh to my box from university
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
iarwain
Apprentice
Apprentice


Joined: 25 Sep 2003
Posts: 253

PostPosted: Sun Oct 10, 2004 10:35 am    Post subject: ssh to my box from university Reply with quote

I can't ssh my home linux machine from my university. Probably they have 22 port disabled for outgoing packages. Is there any way I can make it? Thanks!
Back to top
View user's profile Send private message
Chubby
n00b
n00b


Joined: 10 Oct 2004
Posts: 37
Location: /home/stievie

PostPosted: Sun Oct 10, 2004 10:51 am    Post subject: Reply with quote

Try using another port?
_________________
Call me a weirdo, call me a freak, but I think that I'm a geek
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Sun Oct 10, 2004 12:15 pm    Post subject: Re: ssh to my box from university Reply with quote

iarwain wrote:
I can't

Then you should learn to ;-)

Why can't you? what error do you get?
Back to top
View user's profile Send private message
iarwain
Apprentice
Apprentice


Joined: 25 Sep 2003
Posts: 253

PostPosted: Sun Oct 10, 2004 7:16 pm    Post subject: Re: ssh to my box from university Reply with quote

nielchiano wrote:
iarwain wrote:
I can't

Then you should learn to ;-)

Why can't you? what error do you get?

I can ssh to my computer from everywhere except from my university. The error says something like my computer hasn't the ssh service in 22 port. "unable to connect". I can't remember exactly the message, but something similar.

Another thing that is getting me crazy is that i can ftp to my computer from everywhere but from... yes, my university. The only service I can access to my computer is web in 80 port. I don't understand this, as I can access other ftp servers pretty well.

I have ALL:ALL in hosts.allow :roll:

Thanks for answering.
Back to top
View user's profile Send private message
jago25_98
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 180

PostPosted: Sun Oct 10, 2004 9:08 pm    Post subject: Reply with quote

/etc/ssh/sshd_config

> port 8080

for example
Back to top
View user's profile Send private message
Chubby
n00b
n00b


Joined: 10 Oct 2004
Posts: 37
Location: /home/stievie

PostPosted: Mon Oct 11, 2004 4:06 pm    Post subject: Reply with quote

Maybe your university is blocking some ports.
[edit]Every port under 80, my ISP block's every incoming port under 1024[/edit]
_________________
Call me a weirdo, call me a freak, but I think that I'm a geek
Back to top
View user's profile Send private message
DL8
n00b
n00b


Joined: 27 Jul 2004
Posts: 54
Location: Israel

PostPosted: Mon Oct 11, 2004 5:07 pm    Post subject: Reply with quote

Try moving the service to port 80, or just add a redirect from port 80:
Code:
iptables -t nat -A PREROUTING -i ! lo -p tcp --dport 80 -j REDIRECT --to-ports 22

Good luck
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum