SSH 免密码登陆远程服务器

很多时候我们需要远程登陆服务器通过SSH

我们需要一些简单的步骤就可以实现免密码登陆

步骤

cd ~/.ssh

ssh-keygen -t rsa

ssh-copy-id user@ip

声明

user 登陆到远程服务器的用户名

ip 远程服务器IP公网地址

第一次设置需要输入密码

之后我们就可以 ssh user@ip到远程服务器了。


Donate

Buy me a coffee, if you thought this blog does help you. Click the link below.

My Personal PayPal.

75条评论

  1. Long time reader, first time commenter — so, thought I’d drop a comment..

    — and at the same time ask for a favor.

    Your wordpress site is very simplistic – hope you don’t mind
    me asking what theme you’re using? (and don’t mind if
    I steal it? :P)

    I just launched my small businesses site –also built
    in wordpress like yours– but the theme slows (!) the
    site down quite a bit.

    In case you have a minute, you can find it by searching for
    “royal cbd” on Google (would appreciate any feedback)

    Keep up the good work– and take care of yourself during the
    coronavirus scare!

    ~Justin

    1. Thanks, Justin. My blog is using the Hestia theme. Here is a link ( https://wordpress.org/themes/hestia/ ) it might help you with your WordPress site.

  2. Magnificent beat ! I wish to apprentice while you amend your website, how could i subscribe
    for a blog web site? The account helped me a acceptable deal.
    I had been tiny bit acquainted of this your broadcast provided bright clear idea

    P.S. If you have a minute, would love your feedback on my new website re-design. You can find it by searching for “royal cbd” –
    no sweat if you can’t.

    Keep up the good work!

  3. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time
    a comment is added I get several e-mails with the
    same comment. Is there any way you can remove
    people from that service? Cheers!

  4. Aw, this was a really nice post. Taking the time and actual effort to make a
    really good article… but what can I say… I procrastinate a lot and never seem to get nearly anything done.

  5. Thanks for this amzing blog, I sincerer agreed with everything you said, I will be viisting again .Once again thanks for an amazin blog

  6. Great work! This is the kind of information that are meant to be shared around the net.

    Disgrace on the seek engines for no longer positioning this put up higher!
    Come on over and visit my website . Thanks =)

  7. It’s actually a cool and helpful piece of info. I am glad
    that you just shared this helpful information with us.
    Please stay us informed like this. Thanks for sharing.

  8. magnificent submit, very informative. I wonder why
    the opposite specialists of this sector do not notice this.
    You must proceed your writing. I’m sure, you have a great
    readers’ base already!

  9. Hello there, I found your website by way of Google at the same time as searching for a related matter,
    your web site came up, it seems great. I’ve bookmarked it in my
    google bookmarks.
    Hi there, just changed into alert to your blog
    through Google, and located that it is truly informative.
    I am going to be careful for brussels. I’ll be
    grateful when you continue this in future. Lots of other folks shall be benefited from your writing.

    Cheers!

  10. Hello very nice web site!! Guy .. Beautiful .. Wonderful ..
    I’ll bookmark your web site and take the feeds also? I’m glad
    to find so many helpful info here within the submit, we
    need develop extra techniques in this regard, thanks for
    sharing. . . . . .

  11. Heya i’m for the first time here. I found this board and I in finding It really useful & it helped
    me out much. I hope to offer something again and help others such as you
    helped me.

  12. I get pleasure from, lead to I found just
    what I was looking for. You have ended my 4 day lengthy hunt!
    God Bless you man. Have a great day. Bye

  13. great put up, very informative. I ponder why the other specialists of this sector do not realize this.
    You should proceed your writing. I’m sure, you have a
    great readers’ base already!

  14. Quality articles is the key to interest the viewers to pay a quick visit the
    website, that’s what this website is providing.

  15. Simply want to say your article is as astounding. The clarity on your post is
    simply excellent and i could think you’re knowledgeable
    on this subject. Fine together with your permission let me to
    seize your RSS feed to keep up to date with drawing close post.
    Thank you 1,000,000 and please carry on the rewarding work.

  16. When someone writes an post he/she maintains
    the image of a user in his/her mind that how a user can know it.

    Thus that’s why this post is amazing. Thanks!

  17. Hi, yes this piece of writing is really pleasant and I have learned lot of things
    from it concerning blogging. thanks.

  18. Hey would you mind sharing which blog platform you’re working with?
    I’m looking to start my own blog soon but I’m having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design seems different then most blogs and I’m looking for
    something unique. P.S Apologies for getting off-topic but
    I had to ask!

    1. BlogEngine/Wordpress/B2evolution and Drupal are really good platforms. Personally I recommend WordPress which is opensource, rich plugins, and friendly UI. WordPress may be easier for your life!

  19. My spouse and I stumbled over here different website and thought I might as well check things
    out. I like what I see so i am just following you.
    Look forward to checking out your web page for a second time.

  20. Piece of writing writing is also a excitement, if you know afterward you can write or else it is complicated to write.

  21. Fine way of telling, and fastidious post to obtain data regarding my presentation subject
    matter, which i am going to convey in school.

  22. Spot on with this write-up, I honestly believe that this web site needs a lot more attention. I’ll probably be back again to read through more, thanks for
    the advice!

  23. I was recommended this blog by way of my cousin. I’m no longer positive whether
    or not this put up is written by way of him as nobody else recognise such specific approximately my
    trouble. You’re incredible! Thank you!

  24. Heya i’m for the first time here. I came across this board and I find It truly useful
    & it helped me out a lot. I hope to give something back and help others like you aided
    me.

  25. It’s going to be ending of mine day, but before end I am reading this impressive piece of writing to improve my knowledge.

  26. Hi! This is my first visit to your blog! We are a team
    of volunteers and starting a new project in a community
    in the same niche. Your blog provided us valuable
    information to work on. You have done a marvellous job!

  27. Greetings! Very helpful advice in this particular article!
    It’s the little changes that make the largest changes. Thanks
    for sharing!

  28. This website was… how do I say it? Relevant!! Finally I have found something which helped me.
    Kudos!

  29. Hi, I do believe this is a great site. I stumbledupon it 😉 I will return once
    again since i have bookmarked it. Money and freedom is the
    best way to change, may you be rich and continue to help other
    people.

  30. Its like you learn my mind! You appear to understand a lot
    approximately this, such as you wrote the e-book in it or something.
    I feel that you just could do with some % to drive the message home a little
    bit, however instead of that, that is great blog. An excellent read.
    I will certainly be back.

  31. Pretty component of content. I simply stumbled upon your web site and in accession capital to claim that I get in fact enjoyed account your weblog posts.
    Anyway I’ll be subscribing on your augment or even I fulfillment you get right
    of entry to consistently fast.

  32. You’ve made some really good points there. I checked on the internet for
    additional information about the issue and found most individuals will go along with
    your views on this web site.

  33. Oh my goodness! Impressive article dude! Thank you so much, However I am encountering problems with your RSS.
    I don’t understand the reason why I am unable to subscribe
    to it. Is there anyone else having the same RSS issues? Anybody who knows the solution will you kindly respond?
    Thanks!!

  34. That is a great tip particularly to those fresh to the blogosphere.
    Short but very precise info… Many thanks for
    sharing this one. A must read article!

  35. Hello! Do you know if they make any plugins to safeguard against
    hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any tips?

  36. Hi i am kavin, its my first occasion to commenting anywhere, when i read this paragraph i thought i could
    also make comment due to this good post.

  37. Hi there! Do you know if they make any plugins to assist with Search Engine Optimization? I’m trying to get my blog to rank for some targeted keywords
    but I’m not seeing very good results. If you know of any please share.
    Thanks!

  38. We stumbled over here by a different page and thought
    I should check things out. I like what I see so now i’m
    following you. Look forward to looking at your
    web page for a second time.

  39. I am commenting to let you know of the fine encounter my friend’s daughter found reading your site. She figured out many issues, not to mention what it’s like to have a wonderful giving mindset to have men and women quite simply have an understanding of selected hard to do subject areas. You really exceeded our expectations. Many thanks for giving the insightful, safe, explanatory and as well as easy thoughts on the topic to Jane.

  40. I enjoy you because of all of your effort on this blog. Debby delights in conducting internet research and it’s easy to see why. A number of us hear all about the compelling manner you create effective guides by means of the blog and boost contribution from other ones about this area of interest and my child has been becoming educated a great deal. Enjoy the remaining portion of the new year. You’re carrying out a fabulous job.

  41. A lot of thanks for all your efforts on this site. Gloria enjoys doing investigation and it’s easy to understand why. Almost all know all concerning the dynamic means you deliver great items on the web blog and as well encourage contribution from other people on that concern plus our daughter is actually being taught a lot. Have fun with the remaining portion of the new year. You’re the one conducting a glorious job.

  42. Needed to send you this very small word to finally thank you so much yet again relating to the stunning thoughts you have shared on this site. This is so unbelievably open-handed with you to provide unreservedly what numerous people would have sold for an electronic book to help with making some profit on their own, primarily since you might well have tried it in the event you wanted. Those things likewise worked to become a great way to recognize that someone else have the same passion similar to my very own to see very much more with regard to this problem. I know there are some more pleasurable situations up front for those who start reading your website.

  43. I am only writing to make you understand what a really good experience my wife’s princess obtained viewing your webblog. She noticed some things, which included what it is like to possess an ideal teaching spirit to make others with no trouble learn about specific tortuous things. You undoubtedly surpassed readers’ expected results. Thanks for providing those productive, trusted, informative as well as unique tips on your topic to Mary.

  44. I precisely had to appreciate you all over again. I am not sure the things that I might have gone through in the absence of the entire opinions documented by you directly on such industry. It had become a real fearsome difficulty in my circumstances, however , finding out the skilled manner you managed that made me to jump over fulfillment. I am happier for this help and even hope you find out what a great job you are doing instructing other individuals through the use of your site. I know that you have never encountered all of us.

  45. I’m also commenting to let you be aware of of the brilliant discovery my child encountered checking the blog. She came to understand a lot of details, including how it is like to have a marvelous coaching character to get certain people completely comprehend a variety of complex issues. You actually did more than her desires. I appreciate you for coming up with such essential, dependable, edifying and cool guidance on that topic to Ethel.

  46. My wife and i were very satisfied when Peter managed to round up his survey while using the precious recommendations he received when using the weblog. It is now and again perplexing to simply possibly be offering tips which usually the others might have been trying to sell. We really see we now have you to thank for this. These illustrations you made, the straightforward website navigation, the relationships your site make it possible to promote – it is mostly terrific, and it is making our son in addition to us recognize that this theme is satisfying, which is certainly unbelievably vital. Thanks for the whole thing!

  47. I precisely had to appreciate you all over again. I’m not certain the things I might have done in the absence of the actual ideas discussed by you concerning such field. It actually was a real difficult condition for me personally, but discovering a new professional fashion you handled it forced me to jump for delight. I’m just happier for the guidance and as well , have high hopes you comprehend what a powerful job you’re carrying out instructing most people through your blog. I am sure you’ve never encountered all of us.

  48. Thanks for your whole work on this website. My niece takes pleasure in working on research and it is simple to grasp why. We all notice all relating to the powerful ways you render vital tips and tricks via your website and therefore welcome response from website visitors on this topic while our own simple princess is without question understanding so much. Take pleasure in the rest of the year. Your performing a very good job.

  49. I am just writing to make you understand what a perfect experience my wife’s girl obtained using your webblog. She noticed so many pieces, which included what it is like to possess an excellent helping spirit to let other people with no trouble learn specific specialized things. You truly surpassed readers’ expected results. Thank you for providing these priceless, trusted, informative as well as fun tips about this topic to Lizeth.

  50. I’m commenting to let you be aware of of the beneficial discovery my child developed browsing the blog. She came to find a good number of details, including how it is like to have a great coaching character to get certain people completely comprehend a number of complex issues. You actually did more than her desires. I appreciate you for coming up with such effective, dependable, edifying and cool guidance on that topic to Emily.

  51. My wife and i were very thrilled when Raymond managed to round up his web research with the precious recommendations he was given while using the weblog. It is now and again perplexing to simply possibly be releasing tricks which usually the rest might have been trying to sell. We really understand we now have you to thank for this. Those illustrations you made, the straightforward website navigation, the relationships your site make it possible to promote – it is mostly wonderful, and it is making our son in addition to us understand this topic is thrilling, which is certainly wonderfully vital. Thanks for the whole thing!

  52. I’m just commenting to let you be aware of of the exceptional discovery my cousin’s daughter enjoyed going through your blog. She discovered lots of issues, most notably how it is like to have a very effective giving heart to have many more effortlessly fully understand certain extremely tough matters. You really did more than my desires. Many thanks for displaying the helpful, healthy, educational and also easy thoughts on the topic to Gloria.

  53. I am just writing to make you understand what a perfect experience my wife’s girl obtained using your webblog. She noticed so many pieces, which included what it is like to possess an excellent helping spirit to let others with no trouble learn about specific specialized things. You truly surpassed readers’ expected results. Thank you for providing these priceless, trusted, informative as well as fun tips about this topic to Lizeth.

  54. I enjoy you because of all of your effort on this blog. Debby delights in conducting internet research and it’s easy to see why. A number of us hear all about the compelling manner you create effective guides by means of the blog and boost contribution from other ones about this area of interest and my child has been becoming educated a great deal. Enjoy the remaining portion of the new year. You’re carrying out a fabulous job.

  55. I just like the valuaЬle info you proviԀe to your articles.
    I’ll bookmark your blog andd take a llok aat again hгre regularly.
    I’m moderately ceгtaіn I wіll learn plenty of new stuff proper right
    heгe! Good uck for the next!

    Feell fre to visit my weЬ-site; johnson & Johnson covid vaccine

  56. Magnificent items from you, man. I have take into account your
    stuff previous to and you’re simply extremely great.
    I really like what you have acquired here, really like what you are stating and
    the best way during which you assert it. You make it enjoyable and you continue to take care of to keep it smart.
    I can not wait to learn much more from you. This is actually a tremendous site.

    Here is my web site: CBD oil for dogs

  57. Hi there colleagues, how is everything, and what you wish for to say concerning this article, in my view its genuinely remarkable in support of me.

    my web-site – best cbd oil for dogs with arthritis

  58. My spouse and I absolutely love your blog and find the majority of your post’s
    to be precisely what I’m looking for. can you offer guest writers to write content available for
    you? I wouldn’t mind producing a post or elaborating
    on many of the subjects you write related to here.
    Again, awesome weblog!

    Also visit my blog post: CBD for sale

  59. You got a very excellent website, Gladiolus I detected it through google. https://tuberculosismedi.com best tuberculosis meds

  60. You got a very superb website, Gladiola I discovered it through google. https://heartischemiamed.com drugs used to treat heart ischemia

  61. I truly wanted to write down a small word to be able to thank you for those wonderful tricks you are writing on this website. My time intensive internet look up has at the end of the day been honored with good facts and strategies to go over with my contacts. I ‘d claim that many of us site visitors actually are rather endowed to dwell in a good network with many lovely individuals with helpful methods. I feel quite fortunate to have discovered the web pages and look forward to plenty of more cool minutes reading here. Thank you again for a lot of things. https://bronchitismed.com bronchitis drugs over the counter

  62. My partner and I stumbled over here different web address
    and thought I may as well check things out. I like what I see so
    now i’m following you. Look forward to checking out your web page for a second
    time.

    Feel free to visit my blog post :: cbd for sleep

    1. No worries, I am moving my blog to a new host so you may have some issues. Now everything is good to go, cheers!

发表评论

邮箱地址不会被公开。 必填项已用*标注