diff --git a/README.md b/README.md index a4c1864..98e9dd4 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,3 @@ This assumes you [already added a GPG key to your Yubikey](https://github.com/dr ``` The important part here is typing the **`username`** and **`hostname/IP`**. These variables are needed to write a correct config. - - -#### The one-liner version - -``` -git clone https://github.com/stationgroup/gpg-agent-forward.git && cd gpg-agent-forward && ./yubikey_gpg-agent-forward.sh USER HOST.COM -``` diff --git a/yubikey_gpg-agent-forward.sh b/yubikey_gpg-agent-forward.sh old mode 100755 new mode 100644 index 63277b3..6848336 --- a/yubikey_gpg-agent-forward.sh +++ b/yubikey_gpg-agent-forward.sh @@ -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.ssh $HOME/.gnupg/S.gpg-agent.ssh" >> ~/.ssh/config echo " ServerAliveInterval 10" >> ~/.ssh/config -echo "Use this shortcut to forward your Yubikey to $hostname:" +echo "Use this shortcut to forward your Yubikey to $host:" echo " ssh $hostshortcut" echo "Inspect or edit the config:" echo " vi ~/.ssh/config"