I created keys so I can transfer files and run commands without having to enter in a password. I used this guide to do it:
changed the chmod to 600 on the id_dsa.pub key on the local env.
when I run this command now
scp -i /home/.ssh/id_dsa.pub /prod/tool/CODELIBRARY.txt user@remoteenv:/toload
it keeps asking for a passphrase. When I hit enter, it then asks for a password then.
but when I run this command it works without a password or passphrase:
ssh -v -l username remoteenv