Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
At school, I'd like to be able to SSH home so I can get files from my computer (I won't be a breach of security), but because of the proxy (I think), it doesn't let me. I get an error when trying to connect using PuTTY: "Network error. Connection timed out." Or something of the same meaning. Is there any way to SSH through the proxy so that I can connect to my house? I'm using PuTTY v0.58 and SSH2.
ssh can run through an HTTP proxy ok, but your firewalls and such need to be configured to permit the destination outbound too. personally i've had good experiences running an ssh server on port 443 as this port has been unused as i don't server https and so you could get straight through that way. if your proxy will try to connect to port 22 directly then that's fine then.
Actually default port for ssh is 22, so if the admin of the server didn't change the port to other port, then your attemp to connect to port 443 will be meaningless.
Actually default port for ssh is 22, so if the admin of the server didn't change the port to other port, then your attemp to connect to port 443 will be meaningless.
I'm not sure I know what you mean. You can specify which port to use in the PuTTY GUI, or I think at the command-line by doing
I'm not sure I know what you mean. You can specify which port to use in the PuTTY GUI, or I think at the command-line by doing
Code:
ssh hostname:port
This is what i mean :
- default port for ssh is 22.
- if the sys admin didn't change the default port to other port such as 443 then a command like this ssh hostname:443 will be failed.
- if your sys admin never change the default port to other port and has blocked a connection to port 22 or only specified ip can access to port 22 then u cant do anything, unless you know how to hack to the system.
if the OP wants to ssh "home" to me that suggests that he is the server admin, in which case he can make ssh listen wherever he wants to. Additionally an ADSL router or such like that is already sitting here can be configured to portward external 443 requests to port 22 on the server inside. Mind you, this is only my suggestion when i had no success with any other attempts...
if your school firewall has a policy to drop input/output by default and only allow selective connections then you have a problem. the administrator there must have rules in place for only the packets he wants in/out and that too at certain ports. all other packets are dropped by default in such conditions.
now when you ssh home, you connect to a ssh server running on certain port and a certain ip. your administrator must add a rule to allow this. your other option would be to configure your ssh server at home to use a global port which the administrator at school dare not block. see if you can find out a port that has global access to outside world and then use that port to connect home. that way you would be using a outgoing/incoming connection for which there already is an accept rule in your school firewall.
well as above, if you have an ADSL router between your box and the net, then you'd do a port translation on the router and not touch the server tiself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.