Digital Marketing

Causes ssh to print its configuration after evaluating Host and Match blocks and exit

      -G      Causes ssh to print its configuration after evaluating Host

             and Match blocks and exit.


Example: 

$ ssh -G p | awk '$1 == "hostname" { print $2 }'

ssh.goyun.info

Comments

Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership