SSH ????????????
???????????? ???????[ 2016/4/29 13:54:21 ] ?????????????????? ???ù???
??????? ??????
????????????????????????????????????
??????????????統(tǒng)?????????rxbyes??????????22???????????
??????????ssh user@hostname -p port eg: ssh rxbyes@192.168.1.1 -p 22
???????? ????????
??????????????????????? rsa ?????
??????????ssh-keygen -t rsa ?????????????????????
???????????????????? id_rsa.pub ???????? rxbyes ???????? ~/.ssh/ ????
??????????scp ./id_rsa.pub rxbyes@192.168.1.1:~/.ssh/
????????????????????????? id_rsa.pub ???????? authorized_key ????????????????????
??????????cat id_rsa.pub >> authorized_key
?????????????????? authorized_key ???
??????????chmod 700 ~/.ssh/
??????????chmod 600 authorized_key
???????崠????Щ??????????????????? /etc/ssh/sshd_config ???? PubkeyAuthentication ???ó? yes
??????????/etc/init.d/ssh restart
??????????????????
??????????????????? ~/.ssh/config ??????????????
????Host rxbyes
????HostName 192.168.1.1
????Port 22
????User rxbyes
????IdentityFile ~/.ssh/id_rsa? (id_rsa????????)
????????????????????????
????ssh rxbyes
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11