cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Cloud



Etc


Reference














.

protocol:ssh:index.html



SSH

SSH Page List

Basic Knowledge

Image

[Client] -------------------> [Server]

[Client]
    ~/.ssh/id_rsa           # Private Key

    ~/.ssh/known_hosts      # keys of SSH servers accessed by the user


[Server]
    ~/.ssh/authorized_keys  # Publick Key
                            # lists of authorized public keys
                            # copy publick key from id_rsa.pub,id_dsa.pub to authorized_keys

ssh algorithm

algorithm command key pair complement
RSA1 (ssh version1) ssh-keygen -t rsa1 -C "comment" Private Key : ~/.ssh/identity
Publick Key : ~/.ssh/identity.pub
RSA (ssh version2) ssh-keygen -t rsa -C "comment" Private Key : ~/.ssh/id_rsa
Publick Key : ~/.ssh/id_rsa.pub
recommendation
DSA (ssh version2) ssh-keygen -t dsa -C "comment" Private Key : ~/.ssh/id_dsa
Publick Key : ~/.ssh/id_dsa.pub
AWS does not support


SSH login without password

Method Logout Reboot Note
nopassphrase OK OK Recommend
keychain OK NG
ssh-agent NG NG Only Login





protocol/ssh/index.html.txt ยท Last modified: 2020/04/12 by admin

Page Tools