fix hostname variable

This commit is contained in:
Bryan Black 2018-07-19 15:20:06 -07:00 committed by GitHub
parent 89351d24c7
commit 8147ee8fdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ echo " User $ruser" >> ~/.ssh/config
echo " RemoteForward /home/$ruser/.gnupg/S.gpg-agent $HOME/.gnupg/S.gpg-agent" >> ~/.ssh/config echo " RemoteForward /home/$ruser/.gnupg/S.gpg-agent $HOME/.gnupg/S.gpg-agent" >> ~/.ssh/config
echo " RemoteForward /home/$ruser/.gnupg/S.gpg-agent.ssh $HOME/.gnupg/S.gpg-agent.ssh" >> ~/.ssh/config echo " RemoteForward /home/$ruser/.gnupg/S.gpg-agent.ssh $HOME/.gnupg/S.gpg-agent.ssh" >> ~/.ssh/config
echo " ServerAliveInterval 10" >> ~/.ssh/config echo " ServerAliveInterval 10" >> ~/.ssh/config
echo "Use this shortcut to forward your Yubikey to $host:" echo "Use this shortcut to forward your Yubikey to $hostname:"
echo " ssh $hostshortcut" echo " ssh $hostshortcut"
echo "Inspect or edit the config:" echo "Inspect or edit the config:"
echo " vi ~/.ssh/config" echo " vi ~/.ssh/config"