ssh-copy-id in openssh-Portfile-variant-ssh-copy-id.patch

LLLActive at GMX.Net LLLActive at GMX.Net
Fri Mar 2 12:00:12 PST 2012


Hi all,

I'm new to the List. I just installed MacPorts. I am looking for the 
ssh-copy-id script in OS X 10.7.3. The installation with:

|$ sudo bash -c "cvs -d anoncvs at anoncvs.mindrot.org:/cvs \
get -p openssh/contrib/ssh-copy-id>  /usr/local/bin/ssh-copy-id"
$ sudo chmod +x /usr/local/bin/ssh-copy-id|

The installation works, but when using it I get errors:

ssh-copy-id -i /Users/mac/.ssh/id-dsa/id_dsa.pub usr at server.com

I get:
usr/local/bin/ssh-copy-id: line 1: syntax error near unexpected token 
`newline'
/usr/local/bin/ssh-copy-id: line 1: `<!DOCTYPE html>'

So I gathered that there is something wrong with the script. That is why 
I tried it with MacPorts. It does not exist with:

sudo port install ssh-copy-id
Error: Port ssh-copy-id not found

All I can find is:

https://trac.macports.org/ticket/27049

How can install this patch?

:-)
Dreiel

My system: MacBookPro8,3 OS X 10.7.3 XCode Version 4.3 (4E109) MacPorts 
2.0.4


More information about the macports-users mailing list