tilde doesn't expand in quotes
This commit is contained in:
parent
63cad56836
commit
9f5acb12f4
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ and ssh clients.
|
|||
dnf install openssh-server
|
||||
|
||||
## Generate strong key on your laptop or workstation/desktop
|
||||
ssh-keygen -t ed25519 -a 32 -f "~/.ssh/$localhost-to-$remotehost"
|
||||
ssh-keygen -t ed25519 -a 32 -f ~/.ssh/"$localhost-to-$remotehost"
|
||||
|
||||
## Copy key to AlmaLinux
|
||||
ssh-copy-id -i ~/.ssh/"$localhost-to-$remotehost" "$user@$remotehost"
|
||||
|
|
Loading…
Add table
Reference in a new issue