SSH connection via JumpHost problem — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
Get Started with Redwood: Oracle Cloud SCM and Purchasing

SSH connection via JumpHost problem

edited Dec 13, 2023 7:08AM in Linux 5 comments

Summary:

Dear Team,

I want to connect to Remote host via Jump host

my VirtualHost --> JumpHost --> RemoteHost

JumpHost = dc1-jump-001.example.com (10.55.12.36)
RemoteHost = dc1-rremote-001.example.com (10.55.50.17)


1) First step

My SSH config on VirtualHost

/home/user01/.ssh/config
Host jump-dc1
 HostName dc1-jump-001.example.com
 User user01
 IdentityFile ~/.ssh/id_rsa
Host dc1-* 10.55.*
 User user01
 ProxyJump user01@jump-dc1

If I try connect to remote host

>ssh dc1-rremote-001.example.com

this connection is looping

>ps -ef | grep ssh | wc -l
713
>ps -ef | grep ssh | wc -l
1079
>ps -ef | grep ssh | wc -l
1149
>ps -ef | grep ssh | wc -l
2045

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!