et ssh home (from work)
hi, i am hoping to be able to connect to my pc at home while i am in the office.
i thought it was that my company's firewall doesnt allow port 22 traffic so i set up my ssh server to listen out of port 80 thinking i could confuse my company's firewall into thinking it was http traffic. but putty still hangs for about :30 secs and then i still get 'network error: connection timed out'. when i use internet explorer i get a page that says: 'SSH-1.99-OpenSSH_3.5p1 hhhhhhhhhhhhhhh' (without the h's) is there a way to get a command line prompt to my pc ? thanks, |
That looks like the correct SSH banner. Is it possible that your work is running a transparent proxy? Try running it on port 443, the HTTPS ports. Many firewalls are configured to just let it right through.
|
thanks matir but that diddnt work.
i get a 'connection closed by remote host' error in putty. inetenet explorer gives this: Code:
http://x.x.x.x:443 |
In internet explorer, try going to a secure website and checking to see if the certificate belongs to your company or to the real server. If its your company, they're even running an SSL proxy, which will make things much more difficult.
|
good reminder. i just paid my car insurance and i clicked on the lock icon on the bottom right.
the certificate path says from verisign to verisign to verisign to my insurance company. tahnks, |
I would look and see if PuTTY has a verbose mode that might tell us more about what is going on. Also, you may want to try looking at logs on your server to see if it recorded anything unusual.
|
thanks for the suggestion, putty's logging is pretty weak.
but my logs has a lot of hits, here's the latest: Code:
[root@hyper root]# grep -ir ssh /var/log | grep -i "may 23 18" thanks, |
here's what i got:
i am at home and i can putty into my redhat machine easily. then even if i leave the connection on i will vpn into my company lan. the existing connection will close (putty says "software caused the connection to close"). then i am unable to ssh back into my redhat machine until i close the vpn session. Code:
Microsoft Windows XP [Version 5.1.2600] here is where i ran sshd in debug mode: Code:
[schneidz@hyper log]$ sudo /usr/sbin/sshd -d -d -d thanks, |
No, identification string is the client telling the server what protocol versions it supports, etc. There could be an SSL proxy of some sort, I suppose.
|
thanks a lot matir, you helped me immensely.
i guess this is my dead-end. i dont think there is a configuration which would make the server ignore the id string. this thread mentions editing source so that it doesnt look for id string: http://www.linuxquestions.org/questi...ng+from+source does anyone have a suggestion how i edit its source ? thak you, |
All times are GMT -5. The time now is 08:02 AM. |