A:

ssh-keygen-trsa

scp/root/.ssh/[email protected]:/root/.ssh/authorized_keys

不能scp得用cat/tmp/id_rsa.pub>>authorized_keys

scp/root/.ssh/[email protected]:/root/.ssh/authorized_keys

scp-r/home/workspace/dev/[email protected]:/home/