Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi. I want to access a computer through SSH but the problem is, I'm behind a firewall that blocks SSH. Is there any way I can bypass it, say maybe a website that allows me to use SSH online?
So you would like to access a remote computer using ssh but the firewall you're has closed the ssh port...
You could use instead port 80 (http). This can be set in /etc/ssh_config. But the ssh server must also listen to that port. This can be set in /etc/sshd_config if you have some control aver the server.
the only disadvantage is you'll potentially have some extra keys to type to specify the destination port everytime you ssh to the machine.
As long as you're not trying to run a web server on the same port, you can do it.
There will be no difference in speed by using a different port, unless some meanie is doing traffic shaping. But I am guessing any speed is greater than the nothing you're experiencing now. 8D
@propofol: I guess I was unclear. The firewall is on the client side, not on the server side. I'm not sure how they've configured it, but I can't ssh to my machine that has a public IP.
@propofol: I guess I was unclear. The firewall is on the client side, not on the server side. I'm not sure how they've configured it, but I can't ssh to my machine that has a public IP.
I imagine the firewall is there for a reason, however I would think that tunneling ssh over an open port such as 80 or 21 (if ftp is allowed) might work. You could always forward port 80 on your router to your ssh server at home on whatever port it runs. I have not used it myself, but have you looked at:
corkscrew - tunnel TCP connections through HTTP proxies
If all else fails, there are also services like: http://www.serfish.com/console/
There are some security implications with this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.