[gentoo-user] SSH Problems
I just emerged openssh and configured sshd for protocol 2 only, X11 Forwarding, and to listen on port 80. When at work (on a win2000 machine) I try to connect to my home computer via ssh (using putty on the W-Box) and it just quits nothing. Then I try connecting to my home computer from my hppa-linux machine at work using ssh and it gives me this after about a minute: ssh_exchange_identification: Connection closed by remote host What gives can anyone give me some insight or point towards good documentation setting up ssh? I have tried the openssh website but didn't find any help there. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH Problems
If you change the connection back to port 21 can you then connect ? On Fri, 6 Jun 2003 13:33:42 +0100 Tracy LCpl Derek E [EMAIL PROTECTED] wrote: I just emerged openssh and configured sshd for protocol 2 only, X11 Forwarding, and to listen on port 80. When at work (on a win2000 machine) I try to connect to my home computer via ssh (using putty on the W-Box) and it just quits nothing. Then I try connecting to my home computer from my hppa-linux machine at work using ssh and it gives me this after about a minute: ssh_exchange_identification: Connection closed by remote host What gives can anyone give me some insight or point towards good documentation setting up ssh? I have tried the openssh website but didn't find any help there. -- [EMAIL PROTECTED] mailing list -- The needs of the many outweigh the needs of the few. Captain Spock in Star Trek II: The Wrath of Khan PGP Key: http://users.pandora.be/rivendell/marquetp.gpg Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B Registered Linux User #44550 http://counter.li.org pgp0.pgp Description: PGP signature
Re: [gentoo-user] SSH Problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 06 June 2003 08:33, Tracy LCpl Derek E wrote: I just emerged openssh and configured sshd for protocol 2 only, X11 Forwarding, and to listen on port 80. When at work (on a win2000 machine) I try to connect to my home computer via ssh (using putty on the W-Box) and it just quits nothing. Then I try connecting to my home computer from my hppa-linux machine at work using ssh and it gives me this after about a minute: ssh_exchange_identification: Connection closed by remote host What gives can anyone give me some insight or point towards good documentation setting up ssh? I have tried the openssh website but didn't find any help there. It might be your ISP is blocking incoming port 80. I've noticed a lot of ISPs have started doing that to enforce their 'no servers allowed' policies... i get 80 and 25 blocked on my cable modem provider:(.. - --mike -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+4JugzK7WDkEewTARArr0AJwK4z6AQ+UhUrSLjmBHW9Y/dR2pnACfUaFp p65VxyBSzxD0qmpTqFGingU= =fSmy -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] SSH Problems
Do you mean port 22 if so than yes I have tried that port also. -Original Message- From: Patrick Marquetecken [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:40 AM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] SSH Problems If you change the connection back to port 21 can you then connect ? On Fri, 6 Jun 2003 13:33:42 +0100 Tracy LCpl Derek E [EMAIL PROTECTED] wrote: I just emerged openssh and configured sshd for protocol 2 only, X11 Forwarding, and to listen on port 80. When at work (on a win2000 machine) I try to connect to my home computer via ssh (using putty on the W-Box) and it just quits nothing. Then I try connecting to my home computer from my hppa-linux machine at work using ssh and it gives me this after about a minute: ssh_exchange_identification: Connection closed by remote host What gives can anyone give me some insight or point towards good documentation setting up ssh? I have tried the openssh website but didn't find any help there. -- [EMAIL PROTECTED] mailing list -- The needs of the many outweigh the needs of the few. Captain Spock in Star Trek II: The Wrath of Khan PGP Key: http://users.pandora.be/rivendell/marquetp.gpg Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B Registered Linux User #44550 http://counter.li.org -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] SSH Problems
The ssh client has a -v (verbose) option. Does putty have anything similar? If so, did you try running your putty client in verbose mode? The idea would be to detect if you get in contact with sshd, or if firewalls are stopping you to contact your home server. Gus Kurt Bechstein [EMAIL PROTECTED] To: [EMAIL PROTECTED] com cc: (bcc: Gustav Schaffter/CDS/CG/CAPITAL) Subject: RE: [gentoo-user] SSH Problems 06-06-2003 15:54 Please respond to gentoo-user Have you tried adjusting your /etc/hosts.allow and /etc/hosts.deny files? Is there anything being logged in /var/log/messages, /var/log/secure, or /var/log/syslog? Did you you compile sshd with the tcpd USE option? On Fri, 2003-06-06 at 09:50, Tracy LCpl Derek E wrote: Do you mean port 22 if so than yes I have tried that port also. -Original Message- From: Patrick Marquetecken [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:40 AM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] SSH Problems If you change the connection back to port 21 can you then connect ? On Fri, 6 Jun 2003 13:33:42 +0100 Tracy LCpl Derek E [EMAIL PROTECTED] wrote: I just emerged openssh and configured sshd for protocol 2 only, X11 Forwarding, and to listen on port 80. When at work (on a win2000 machine) I try to connect to my home computer via ssh (using putty on the W-Box) and it just quits nothing. Then I try connecting to my home computer from my hppa-linux machine at work using ssh and it gives me this after about a minute: ssh_exchange_identification: Connection closed by remote host What gives can anyone give me some insight or point towards good documentation setting up ssh? I have tried the openssh website but didn't find any help there. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] SSH Problems
No I did not compile sshd with the tcpd USE option and can not access my log files from work (which is where I am at now). I will try to sift through the log files when I get home. And I have not adjusted /etc/hosts.allow or /etc/hosts.deny , could these be the culprit? -Original Message- From: Kurt Bechstein [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:55 AM To: [EMAIL PROTECTED] Subject: RE: [gentoo-user] SSH Problems Have you tried adjusting your /etc/hosts.allow and /etc/hosts.deny files? Is there anything being logged in /var/log/messages, /var/log/secure, or /var/log/syslog? Did you you compile sshd with the tcpd USE option? On Fri, 2003-06-06 at 09:50, Tracy LCpl Derek E wrote: Do you mean port 22 if so than yes I have tried that port also. -Original Message- From: Patrick Marquetecken [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:40 AM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] SSH Problems If you change the connection back to port 21 can you then connect ? On Fri, 6 Jun 2003 13:33:42 +0100 Tracy LCpl Derek E [EMAIL PROTECTED] wrote: I just emerged openssh and configured sshd for protocol 2 only, X11 Forwarding, and to listen on port 80. When at work (on a win2000 machine) I try to connect to my home computer via ssh (using putty on the W-Box) and it just quits nothing. Then I try connecting to my home computer from my hppa-linux machine at work using ssh and it gives me this after about a minute: ssh_exchange_identification: Connection closed by remote host What gives can anyone give me some insight or point towards good documentation setting up ssh? I have tried the openssh website but didn't find any help there. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] SSH Problems
I ran ssh with the -v option (on my hppa-linux box) and this is what is output: debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: Connecting to 24.25.54.234 [24.25.54.234] port 80. debug1: Connection established. debug1: identity file /root/.ssh/identity type -1 debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote host debug1: Calling cleanup 0x5a572(0x0) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 10:01 AM To: [EMAIL PROTECTED] Subject: RE: [gentoo-user] SSH Problems The ssh client has a -v (verbose) option. Does putty have anything similar? If so, did you try running your putty client in verbose mode? The idea would be to detect if you get in contact with sshd, or if firewalls are stopping you to contact your home server. Gus Kurt Bechstein [EMAIL PROTECTED] To: [EMAIL PROTECTED] com cc: (bcc: Gustav Schaffter/CDS/CG/CAPITAL) Subject: RE: [gentoo-user] SSH Problems 06-06-2003 15:54 Please respond to gentoo-user Have you tried adjusting your /etc/hosts.allow and /etc/hosts.deny files? Is there anything being logged in /var/log/messages, /var/log/secure, or /var/log/syslog? Did you you compile sshd with the tcpd USE option? On Fri, 2003-06-06 at 09:50, Tracy LCpl Derek E wrote: Do you mean port 22 if so than yes I have tried that port also. -Original Message- From: Patrick Marquetecken [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:40 AM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] SSH Problems If you change the connection back to port 21 can you then connect ? On Fri, 6 Jun 2003 13:33:42 +0100 Tracy LCpl Derek E [EMAIL PROTECTED] wrote: I just emerged openssh and configured sshd for protocol 2 only, X11 Forwarding, and to listen on port 80. When at work (on a win2000 machine) I try to connect to my home computer via ssh (using putty on the W-Box) and it just quits nothing. Then I try connecting to my home computer from my hppa-linux machine at work using ssh and it gives me this after about a minute: ssh_exchange_identification: Connection closed by remote host What gives can anyone give me some insight or point towards good documentation setting up ssh? I have tried the openssh website but didn't find any help there. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] SSH Problems
Possibly, the tcpd USE option is by default in your make.defaults meaning it is in your global USE variable so unless you put -tcpd in your USE link in /etc/make.conf sshd was compiled with tcp wrapper support and yes then these files could be your problem. That is unless you have some sort of other firewall in place either at your system at home or your work is filtering your outgoing traffic in some fashion. One quick way to test things would be to try and telnet to whichever port you are running ssh on and see what happens. I'm not sure if the Windows telnet client supports that or not but it would worth a try. On Fri, 2003-06-06 at 10:05, Tracy LCpl Derek E wrote: No I did not compile sshd with the tcpd USE option and can not access my log files from work (which is where I am at now). I will try to sift through the log files when I get home. And I have not adjusted /etc/hosts.allow or /etc/hosts.deny , could these be the culprit? -Original Message- From: Kurt Bechstein [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:55 AM To: [EMAIL PROTECTED] Subject: RE: [gentoo-user] SSH Problems Have you tried adjusting your /etc/hosts.allow and /etc/hosts.deny files? Is there anything being logged in /var/log/messages, /var/log/secure, or /var/log/syslog? Did you you compile sshd with the tcpd USE option? On Fri, 2003-06-06 at 09:50, Tracy LCpl Derek E wrote: Do you mean port 22 if so than yes I have tried that port also. -Original Message- From: Patrick Marquetecken [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:40 AM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] SSH Problems If you change the connection back to port 21 can you then connect ? On Fri, 6 Jun 2003 13:33:42 +0100 Tracy LCpl Derek E [EMAIL PROTECTED] wrote: I just emerged openssh and configured sshd for protocol 2 only, X11 Forwarding, and to listen on port 80. When at work (on a win2000 machine) I try to connect to my home computer via ssh (using putty on the W-Box) and it just quits nothing. Then I try connecting to my home computer from my hppa-linux machine at work using ssh and it gives me this after about a minute: ssh_exchange_identification: Connection closed by remote host What gives can anyone give me some insight or point towards good documentation setting up ssh? I have tried the openssh website but didn't find any help there. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- Kurt Bechstein | Unique Systems, Inc. System Administrator | 6920 Spring Valley Drive, #106 Phone: (419) 861-3331 | Holland, OH 43528 Email: [EMAIL PROTECTED] | http://www.uniqsys.com Prepared with Ximian Evolution -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] SSH Problems
22 ofcourse :-/ the only problem i got was the permissions on the .ssh directory and the keys. If they are wrong you can not connect. Patrick On Fri, 6 Jun 2003 14:50:10 +0100 Tracy LCpl Derek E [EMAIL PROTECTED] wrote: Do you mean port 22 if so than yes I have tried that port also. -Original Message- From: Patrick Marquetecken [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:40 AM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] SSH Problems If you change the connection back to port 21 can you then connect ? On Fri, 6 Jun 2003 13:33:42 +0100 Tracy LCpl Derek E [EMAIL PROTECTED] wrote: I just emerged openssh and configured sshd for protocol 2 only, X11 Forwarding, and to listen on port 80. When at work (on a win2000 machine) I try to connect to my home computer via ssh (using putty on the W-Box) and it just quits nothing. Then I try connecting to my home computer from my hppa-linux machine at work using ssh and it gives me this after about a minute: ssh_exchange_identification: Connection closed by remote host What gives can anyone give me some insight or point towards good documentation setting up ssh? I have tried the openssh website but didn't find any help there. -- [EMAIL PROTECTED] mailing list -- The needs of the many outweigh the needs of the few. Captain Spock in Star Trek II: The Wrath of Khan PGP Key: http://users.pandora.be/rivendell/marquetp.gpg Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B Registered Linux User #44550 http://counter.li.org -- [EMAIL PROTECTED] mailing list -- The needs of the many outweigh the needs of the few. Captain Spock in Star Trek II: The Wrath of Khan PGP Key: http://users.pandora.be/rivendell/marquetp.gpg Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B Registered Linux User #44550 http://counter.li.org pgp0.pgp Description: PGP signature
RE: [gentoo-user] SSH Problems
Since the connection is actually established than can I assume that the firewall is not what is preventing me from connecting to my home computer? -Original Message- From: Tracy LCpl Derek E [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 10:13 AM To: [EMAIL PROTECTED] Subject: RE: [gentoo-user] SSH Problems I ran ssh with the -v option (on my hppa-linux box) and this is what is output: debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: Connecting to 24.25.54.234 [24.25.54.234] port 80. debug1: Connection established. debug1: identity file /root/.ssh/identity type -1 debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote host debug1: Calling cleanup 0x5a572(0x0) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 10:01 AM To: [EMAIL PROTECTED] Subject: RE: [gentoo-user] SSH Problems The ssh client has a -v (verbose) option. Does putty have anything similar? If so, did you try running your putty client in verbose mode? The idea would be to detect if you get in contact with sshd, or if firewalls are stopping you to contact your home server. Gus Kurt Bechstein [EMAIL PROTECTED] To: [EMAIL PROTECTED] com cc: (bcc: Gustav Schaffter/CDS/CG/CAPITAL) Subject: RE: [gentoo-user] SSH Problems 06-06-2003 15:54 Please respond to gentoo-user Have you tried adjusting your /etc/hosts.allow and /etc/hosts.deny files? Is there anything being logged in /var/log/messages, /var/log/secure, or /var/log/syslog? Did you you compile sshd with the tcpd USE option? On Fri, 2003-06-06 at 09:50, Tracy LCpl Derek E wrote: Do you mean port 22 if so than yes I have tried that port also. -Original Message- From: Patrick Marquetecken [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:40 AM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] SSH Problems If you change the connection back to port 21 can you then connect ? On Fri, 6 Jun 2003 13:33:42 +0100 Tracy LCpl Derek E [EMAIL PROTECTED] wrote: I just emerged openssh and configured sshd for protocol 2 only, X11 Forwarding, and to listen on port 80. When at work (on a win2000 machine) I try to connect to my home computer via ssh (using putty on the W-Box) and it just quits nothing. Then I try connecting to my home computer from my hppa-linux machine at work using ssh and it gives me this after about a minute: ssh_exchange_identification: Connection closed by remote host What gives can anyone give me some insight or point towards good documentation setting up ssh? I have tried the openssh website but didn't find any help there. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] SSH Problems
Yeah, my gues would be a tcp wrapper problem then. Probably adjust your files and you should be good. On Fri, 2003-06-06 at 11:22, Tracy LCpl Derek E wrote: Since the connection is actually established than can I assume that the firewall is not what is preventing me from connecting to my home computer? -Original Message- From: Tracy LCpl Derek E [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 10:13 AM To: [EMAIL PROTECTED] Subject: RE: [gentoo-user] SSH Problems I ran ssh with the -v option (on my hppa-linux box) and this is what is output: debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: Connecting to 24.25.54.234 [24.25.54.234] port 80. debug1: Connection established. debug1: identity file /root/.ssh/identity type -1 debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote host debug1: Calling cleanup 0x5a572(0x0) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 10:01 AM To: [EMAIL PROTECTED] Subject: RE: [gentoo-user] SSH Problems The ssh client has a -v (verbose) option. Does putty have anything similar? If so, did you try running your putty client in verbose mode? The idea would be to detect if you get in contact with sshd, or if firewalls are stopping you to contact your home server. Gus Kurt Bechstein [EMAIL PROTECTED] To: [EMAIL PROTECTED] com cc: (bcc: Gustav Schaffter/CDS/CG/CAPITAL) Subject: RE: [gentoo-user] SSH Problems 06-06-2003 15:54 Please respond to gentoo-user Have you tried adjusting your /etc/hosts.allow and /etc/hosts.deny files? Is there anything being logged in /var/log/messages, /var/log/secure, or /var/log/syslog? Did you you compile sshd with the tcpd USE option? On Fri, 2003-06-06 at 09:50, Tracy LCpl Derek E wrote: Do you mean port 22 if so than yes I have tried that port also. -Original Message- From: Patrick Marquetecken [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 9:40 AM To: [EMAIL PROTECTED] Subject: Re: [gentoo-user] SSH Problems If you change the connection back to port 21 can you then connect ? On Fri, 6 Jun 2003 13:33:42 +0100 Tracy LCpl Derek E [EMAIL PROTECTED] wrote: I just emerged openssh and configured sshd for protocol 2 only, X11 Forwarding, and to listen on port 80. When at work (on a win2000 machine) I try to connect to my home computer via ssh (using putty on the W-Box) and it just quits nothing. Then I try connecting to my home computer from my hppa-linux machine at work using ssh and it gives me this after about a minute: ssh_exchange_identification: Connection closed by remote host What gives can anyone give me some insight or point towards good documentation setting up ssh? I have tried the openssh website but didn't find any help there. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list