Examples of ProxyCommand?
- From: "ghand" <ghand45@xxxxxxxxxxx>
- Date: 27 Apr 2012 02:47:41 +0100
As a test to find some examples of using ProxyCommand, I tried
ProxyCommand nc %h %p
that seemed to make no change I could see..
I have 3 computers with ssh servers on them and i'm trying to do some example
ProxyCommand lines so I can see what they do.
The only one i've got to work is ProxyCommand nc %h %p and I can't see
it doing anything.
And others i've tried aren't working.
One site said
ProxyCommand ssh user@intermediatehost nc %h %p
and to ssh to internalhost and it'd go through that.
But when I tried it just hung.
I did Ctrl-C and it said
ssh_exchange_identification: Connection closed by remote host
.
- Follow-Ups:
- Re: Examples of ProxyCommand?
- From: Wolfgang Meiners
- Re: Examples of ProxyCommand?
- Prev by Date: Re: strange scp error when mistakenly copying remote-to-remote
- Next by Date: Forcing public key and password in OpenSSH - a solution
- Previous by thread: Re: strange scp error when mistakenly copying remote-to-remote
- Next by thread: Re: Examples of ProxyCommand?
- Index(es):
Relevant Pages
|