In case there is no authorized_keys file yet, create one:
mkdir ~/.sshnano ~/.ssh/authorized_keys
Set the permissions for the .ssh folder and the authorized_keys file:
chmod 700 ~/.sshchmod 600 ~/.ssh/authorized_keyscertmgr.mscpageant.exe CAPI:{fingerprint}plink.exe -agent user@host-A for agent forwardingopenssl x509 -in certificate.cer -pubkey -noout > certificate.pemssh-keygen -i -m PKCS8 -f certificate.pem$ ssh -o ProxyCommand='ncat –proxy-type http –proxy proxy-server:proxy-port –proxy-auth proxy-user:proxy-password %h %p' remote-host$ ssh -L 1234:remote-host:22 -p 2233 user@jump-server$ plink -L 1234:remote-host:22 -P 2233 user@jump-server$ ssh -o UserKnownHostsFile=~/.ssh/known_hosts_tunnel_remote-host -L 1234:remote-host:22 -p 2233 user@jump-server$ ssh -J jump-user@jump-server remote-user@remote-hostSSH config with jump server:
# SSH into remote-user@remote-host behind jump-user@jump-server
Host my-remote
ForwardAgend yes
Hostname remote-host
User remote-user
ProxyJump jump-user@jump-server