Linux/SSH
< Linux
ssh-keygen -t dsa -b 2048
cat ~/.ssh/*.pub | ssh user@remote-system 'umask 077; cat >>.ssh/authorized_keys'
ssh-keygen -t dsa -b 2048
cat ~/.ssh/*.pub | ssh user@remote-system 'umask 077; cat >>.ssh/authorized_keys'