ssh-keygen -t dsa
2. Now you should have something like
id_dsa and id_dsa.pub
3. Add the content of the public key file id_dsa.pub to the users .ssh/authorized_keys file folder on the host you want to connect with
cat id_dsa.pub >> .ssh/authorized_keys
4. Now you should be ready to connect to the host with i.e.
sftp -o IdentityFile=id_dsa user@host
sftp -o IdentityFile=id_dsa user@host
ssh -i id_dsa user@host
Keine Kommentare:
Kommentar veröffentlichen