1

how to escape "\"in ssh-copy-id?

view story
linux-howto

http://unix.stackexchange.com – I'm connected to Ubuntu server that is a member of a corporate Active Directory domain via likewise-open. The users are in the form mydomain\myuser. I can connect to it via ssh, escaping the \ with another \: ssh mydomain\\myuser@myserver I've generated a pair of keys via ssh-keygen, then tried to copy it to the remote machine. The user I'm using in the local machine is not the same I want to copy the key into, so I issued the command: ssh-copy-id mydomain\\myuser@myserver and the output: password: password: password: mydomainyuser@myserver's password: Received disconnect from myserver: (HowTos)