Re: Pubic key with proxy command

Mariyappan, Balaji (GE Indust, ES RAIL, consultant) wrote:
I'm getting following message when connecting to a external sftp
server by public key authendication and through a ssh proxy.
DEBUG: begin_http_relay()
DEBUG: >>> "CONNECT HTTP/1.0\r\n"
DEBUG: >>> "\r\n"
DEBUG: <<< "HTTP/1.0 200 Connection established\r\n"
DEBUG: connected, start user session.
DEBUG: <<< "\r\n"
DEBUG: connected
DEBUG: start relaying.
DEBUG: connection closed by peer
DEBUG: relaying done.
DEBUG: that's all, bye.

This output is from the proxycommand, and it indicates that the proxy is disconnecting immediately for some reason, possibly because the server is not listening on port 22 or the SSH server is dropping the connection immediately (the latter is usually caused by tcpwrappers on the server).

Try running the proxy command on its own. Unless you see "SSH-something" then the problem is with either the proxy or the SSH server and not the client.

ssh_exchange_identification: Connection closed by remote host
What is the problem why it "debug3: Not a RSA1 key"
Some one please try to clarify me.

That's normal, it tries to read it as a RSA1 key before trying it as a v2 key.

I'm using OpenSSH_4.3p2, OpenSSL 0.9.8a...

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Relevant Pages

  • Re: Banana Republic (was Re: OpenVMS Book Wins award)
    ... The graphed 'events' are individually and asynchronously provided from the server to the client over a persistent connection and each respective graphical element is equally asynchronously updated. ... However it can emulate asynchronous, raw network streams via a Web Socket server / raw IP network proxy. ... If you mean Web Sockets can't through existing HTTP proxy then the ...
  • Re: how to save the visitors ip addresses
    ... through the same proxy. ... In the case of the IP address identifying the server. ... The only IP visible in the header is the one assigned to your site by your ISP. ... With none having lost a connection ...
  • SSH Debugging <-- compatibility
    ... Connecting to server, port 22... ... debug: Ssh2/ssh2.c:1956/main: Entering event loop. ... SSH_CROSS_ALGORITHMS packet from connection protocol. ... This is an evaluation version of the SSH Secure Shell Windows Server. ...
  • Re: Setting up 2 connections - help needed!!
    ... and perhaps one more settings? ... And then what you are seeing is if you make your "work with a Socks 5 proxy ... server" active the "home" connection with just the first line check in the ... > I've set up Home as a straight Interent connection under "WORK" - it does ...
  • Re: Server Agent Not Accessible from PPC
    ... You don't need to setup modem connections or proxy servers. ... Creation Wizard for SQL CE Server Tools (not by hand, ... And here is a complete treatment of troubleshooting your connection: ... > but from PPC i can't access this dll. ...