[CLUE-Tech] ssh problem from PC at work

Kevin Fenzi kevin at scrye.com
Thu Aug 21 14:27:43 MDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Jason" == Jason Friedman <Jason.Friedman at xemkt.com> writes:

Jason> I can ssh to my box at home from a friend's house, but from
Jason> work: $ scp -v -l powerpull somefile.txt
Jason> abigail.powerpull.net:/tmp Connecting to
Jason> abigail.powerpull.net...  OpenSSH_3.6.1p1, SSH protocols
Jason> 1.5/2.0, OpenSSL 0x0090702f debug1: Rhosts Authentication
Jason> disabled, originating port will not be trusted.  debug1:
Jason> Connecting to abigail.powerpull.net [63.231.91.153] port 22.
Jason> debug1: Connection established.  debug1: identity file
Jason> /cygdrive/c/.ssh/id_rsa type -1 debug1: identity file
Jason> /cygdrive/c/.ssh/id_dsa type -1 ssh_exchange_identification:
Jason> Connection closed by remote host debug1: Calling cleanup
Jason> 0x41b2a0(0x0) Connection closed

Jason> The above output is from Cygwin.  I do not have id_rsa or
Jason> id_dsa in the .ssh directory.  I've also tried Putty without
Jason> success.

Jason> According to /var/log/messages no sshd connections have been
Jason> refused.  sshd is definitely running.

Several things you can check: 

are you using tcpwrappers? Check your /etc/hosts.allow and
/etc/hosts.deny. If it's dropping the connection there, sshd will
never see it. 

You can try running:

sshd -d -p 8838

and run a sshd on port 8838 with debugging, then try and connect to
that one and it should give you an indication of what it's doing. 

Hope that helps, 

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE/RStA3imCezTjY0ERAiCWAJ90fTJBon85CKR3gu+LDTTNnM3f7QCfR+Ip
RH7pWPkT5d/BPZSqpqOSHTE=
=Hc6k
-----END PGP SIGNATURE-----



More information about the clue-tech mailing list