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.
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 ?
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.
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.
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.
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]
(C) Copyright 1985-2001 Microsoft Corp.
//before vpn to company lan
C:\Documents and Settings>ipconfig
Windows IP Configuration
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . : host.pa.isp.net.
IP Address. . . . . . . . . . . . : 192.168.5.102
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : host.pa.isp.net.
IP Address. . . . . . . . . . . . : 192.168.5.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.1
//after vpn to company lan
C:\Documents and Settings>ipconfig
Windows IP Configuration
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . : host.pa.isp.net.
IP Address. . . . . . . . . . . . : 192.168.5.102
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : host.pa.isp.net.
IP Address. . . . . . . . . . . . : 192.168.5.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection 4:
Connection-specific DNS Suffix . : vpn.company.lan.com
IP Address. . . . . . . . . . . . : x.x.x.x
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . : x.x.x.x
C:\Documents and Settings>
does this make sense ?
here is where i ran sshd in debug mode:
Code:
[schneidz@hyper log]$ sudo /usr/sbin/sshd -d -d -d
debug1: sshd version OpenSSH_3.5p1
debug1: private host key: #0 type 0 RSA1
debug3: Not a RSA1 key file /etc/ssh/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #2 type 2 DSA
debug1: Bind to port 443 on 192.168.5.25.
Server listening on 192.168.5.25 port 443.
Generating 768 bit RSA key.
RSA key generation complete.
debug1: Server will not fork when running in debugging mode.
Connection from x.x.x.x port 16232 Did not receive identification string from x.x.x.x
debug1: Calling cleanup 0x8070d90(0x0)
[schneidz@hyper log]$
this may be a stupid question but is the identification string the same as the username ?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.