I always change the ssh port on remote machines for obvious reasons, however it's causing an simple issue I hope someone can help with.
Setting up a local server with rsnapshot using a cron and ssh keys, I need to change the command for ssh port remote access to upload the key. I just need the proper placement.
I'm used to using -p to gain access , but not used it to upload a key until now.
Tried
" scp .ssh/is_rsa.pub -p xxxx
[email protected]:.ssh/authorized_keys2 "
" scp -p xxxx .ssh/id_rsa.pub
[email protected]:.ssh/authorized_keys2 "[/code]
I'll keep looking and post back when I get it is no one comes forward
thanks