Sunday, June 9, 2019

How to directly ssh into a server through jump servers using ssh configs

Host {nickname for the server}
    HostName {real hostname for the server}
    ProxyCommand ssh {jump.server.com} nc %h %p
    gssapidelegatecredentials yes
    gssapiauthentication yes
    ForwardAgent yes
    LogLevel ERROR
    User {your user name}

No comments: