cmdref.net - Command Reference

This site is command references for system engineers.

User Tools

Site Tools


Top     SiteMap

Sidebar

Top     SiteMap








Etc


Reference











.

protocol:ssh:index.html



Linux
ssh - How to use ssh command in Linux (With Examples)
SSH Portfoward
X11 Forwarding

SSH

List

Basic Knowledge

Image

[Client]  Private Key
    ~/.ssh/id_rsa
    or
    ~/.ssh/id_dsa


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

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

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: 2017/06/01 by admin