we want to login to the NAS without being prompted for a password by typing ssh NAS or something similar (having an alias as opposed to having an IP address or a hostname)
What happens if we don't do it (aka Why is it important)?
we need to find the NAS manually (by IP or hostname, which would have to be stored somewhere)
we need to find a way to store the passphrase safely and pass it to the shell (safely)
Definition of Ready
a NAS is in place (Virtual NAS also counts)
we have a ssh keypair on the BaSe
Key Tasks
[x] create an entry in ~/.ssh/config like
Host NAS
HostName xxx.xxx.xxx.xxx
User yyy
- [x] transfer our key to the NAS from base with `ssh-copy-id -i ~/.ssh/id_rsa.pub NAS`
# Acceptance Criteria
- [x] when we type `ssh NAS` we are inside the NAS' shell
Description
we want to login to the NAS without being prompted for a password by typing
ssh NAS
or something similar (having an alias as opposed to having an IP address or a hostname)What happens if we don't do it (aka Why is it important)?
Definition of Ready
Key Tasks
~/.ssh/config
like