×ðÁú¿­Ê±¹ÙÍøµÇ¼

LinuxϵͳÖÐÉó²éSSH°æ±¾µÄÒªÁì

ÔõÑùÔÚLinuxϵͳÖмì²éSSH°æ±¾

SSH£¨Secure Shell£©ÊÇÒ»ÖÖ¼ÓÃܵÄÔ¶³ÌÅþÁ¬Ð­Òé  £¬ÔÚLinuxϵͳÖб»ÆÕ±éʹÓá£ÏàʶĿ½ñϵͳÖÐSSH°æ±¾µÄÇéÐÎÊǺÜÊÇÖ÷ÒªµÄ  £¬ÓÉÓÚ²î±ð°æ±¾¿ÉÄܱ£´æ²î±ðµÄÇå¾²Îó²î»ò¹¦Ð§ÌØÕ÷¡£ÔÚ±¾ÎÄÖÐ  £¬ÎÒÃǽ«ÏÈÈÝÔõÑùÔÚLinuxϵͳÖмì²éSSH°æ±¾  £¬²¢ÌṩÏêϸ´úÂëʾÀý¡£

Ê×ÏÈ  £¬ÎÒÃÇ¿ÉÒÔͨ¹ýÏÂÁîÐÐÀ´¼ì²éϵͳÖÐSSHµÄ°æ±¾¡£ÒÔÏÂÊÇһЩ³£ÓõÄÏÂÁ

ʹÓÃsshÏÂÁîÅþÁ¬Ô¶³ÌÖ÷»ú  £¬²¢Éó²éSSH°æ±¾ÐÅÏ¢£º

ssh -V

µÇ¼ºó¸´ÖÆ

Õâ¸öÏÂÁî»áÏÔʾSSHµÄ°æ±¾ºÅ  £¬ÀýÈ磺

OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f  31 Mar 2020

µÇ¼ºó¸´ÖÆ

ʹÓÃdpkgÏÂÁîÉó²éOpenSSHÈí¼þ°üµÄ°æ±¾ÐÅÏ¢£º

dpkg -l | grep openssh

µÇ¼ºó¸´ÖÆ

Õâ¸öÏÂÁî»áÁгöϵͳÖÐÒÑ×°ÖõÄOpenSSHÈí¼þ°üµÄ°æ±¾ÐÅÏ¢  £¬ÀýÈ磺

ii  openssh-client    1:8.2p1-4ubuntu0.1     amd64        secure shell (SSH) client, for secure access to remote machines
ii  openssh-server    1:8.2p1-4ubuntu0.1     amd64        secure shell (SSH) server, for secure access from remote machines

µÇ¼ºó¸´ÖÆ

ʹÓÃssh-keygenÏÂÁîÉó²éÍâµØSSHÃÜÔ¿µÄÐÅÏ¢£º

ssh-keygen -l -f /path/to/ssh_key

µÇ¼ºó¸´ÖÆ

Õâ¸öÏÂÁî»áÁгöÖ¸¶¨SSHÃÜÔ¿µÄ°æ±¾¼°¹«Ô¿Ö¸ÎÆÐÅÏ¢  £¬ÀýÈ磺

4096 SHA256:L7X8gUBZsK9odkxRwJY0sXqFnsW2m59UuJzNFZiVQj8 user@example.com (RSA)

µÇ¼ºó¸´ÖÆ

ͨ¹ýÒÔÉÏÕâЩÏÂÁî  £¬ÎÒÃÇ¿ÉÒÔÇáËɵØÉó²éLinuxϵͳÖÐSSHµÄ°æ±¾ÐÅÏ¢¡£¹ØÓÚÇå¾²ÐÔÒªÇó½Ï¸ßµÄϵͳ  £¬°´ÆÚ¼ì²éSSH°æ±¾²¢ÊµÊ±¸üÐÂÊǺÜÊÇÖ÷ÒªµÄ  £¬ÒÔÈ·±£ÏµÍ³µÄÇå¾²ÐÔºÍÎȹÌÐÔ¡£

ÒÔÉϾÍÊÇLinuxϵͳÖÐÉó²éSSH°æ±¾µÄÒªÁìµÄÏêϸÄÚÈÝ  £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí  £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø  £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È  £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ  £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢  £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢  £¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå  £¬9:30-18:30  £¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ