Host *.stg-id-proxy.rmb-lab.jp
ProxyCommand pomerium-cli tcp --listen - %h:%p
Port 22
User pankaj.gole-a
I am able to login my remote host using two commands as below:
ssh -F ~/.ssh/config jhmgmt.stg-id-proxy.rmb-lab.jp - This command helps me to login to jump host.
then I run normal ssh command from jumphost terminal to login to remote host as below:
ssh 240b:c0e0:102:546c:1b02:2:a:0f02
with above two steps i am able to login to my remote host from terminal app on mac. But the same thing i am not able to set using core shell. Please suggest.
You have to install and enable Core Helper. Then create a profile with host set to jhmgmt.stg-id-proxy.rmb-lab.jp, Core Shell will use ~/.ssh/config for ssh connection automatically.
Great! And, sorry for didn't explain the solution in detail.
pmoerium-cli is in search path ($PATH should contains /opt/homebrew/bin) of you local shell, so any program run in local shell could find pmoerium-cli without problem.
The $PATH environment was set in ~/.zshrc (or ~/.bashrc if you use Bash), and only take effect after you enter zsh (or bash), so Core Shell does not aware of that, we have to let ProxyCommand know where exactly pmoerium-cli is locate.