What's the equivalent ssh config of this ssh tunnel command?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a host2
remotely forwarding its ssh connection to port 2222 on host1
. I am using the following command on host0
to connect to host2
via host1
.
ssh -tt host1 ssh -p 2222 localhost
Is there an equivalent ssh config for this command?
Thank you for the help!
ssh-tunneling ssh-config
New contributor
add a comment |Â
up vote
0
down vote
favorite
I have a host2
remotely forwarding its ssh connection to port 2222 on host1
. I am using the following command on host0
to connect to host2
via host1
.
ssh -tt host1 ssh -p 2222 localhost
Is there an equivalent ssh config for this command?
Thank you for the help!
ssh-tunneling ssh-config
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a host2
remotely forwarding its ssh connection to port 2222 on host1
. I am using the following command on host0
to connect to host2
via host1
.
ssh -tt host1 ssh -p 2222 localhost
Is there an equivalent ssh config for this command?
Thank you for the help!
ssh-tunneling ssh-config
New contributor
I have a host2
remotely forwarding its ssh connection to port 2222 on host1
. I am using the following command on host0
to connect to host2
via host1
.
ssh -tt host1 ssh -p 2222 localhost
Is there an equivalent ssh config for this command?
Thank you for the help!
ssh-tunneling ssh-config
ssh-tunneling ssh-config
New contributor
New contributor
New contributor
asked 9 hours ago
Vimos
11
11
New contributor
New contributor
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Try this
Host host2
ProxyJump host1
Port 2222
HostName localhost
If not, then this
Host host2
ProxyCommand ssh host1 nc localhost 2222
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Try this
Host host2
ProxyJump host1
Port 2222
HostName localhost
If not, then this
Host host2
ProxyCommand ssh host1 nc localhost 2222
add a comment |Â
up vote
0
down vote
Try this
Host host2
ProxyJump host1
Port 2222
HostName localhost
If not, then this
Host host2
ProxyCommand ssh host1 nc localhost 2222
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Try this
Host host2
ProxyJump host1
Port 2222
HostName localhost
If not, then this
Host host2
ProxyCommand ssh host1 nc localhost 2222
Try this
Host host2
ProxyJump host1
Port 2222
HostName localhost
If not, then this
Host host2
ProxyCommand ssh host1 nc localhost 2222
answered 7 hours ago
Alexander
86413
86413
add a comment |Â
add a comment |Â
Vimos is a new contributor. Be nice, and check out our Code of Conduct.
Vimos is a new contributor. Be nice, and check out our Code of Conduct.
Vimos is a new contributor. Be nice, and check out our Code of Conduct.
Vimos is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474296%2fwhats-the-equivalent-ssh-config-of-this-ssh-tunnel-command%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password