I recently got a new computer and I'm trying to use ssh-copy-id to put my keys on another server so I can login without password. but when I try
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server
and after inputting the correct password it returns
Ambiguous output redirect.
There are no other messages after that. I thought it was maybe just Ubuntu 12.10 so I installed Linux Mint 14 and sure enough exact same thing happens.
I've tried removing authorized_keys from the remote server but that didn't change anything.