ssh 不输入密码连接服务器

Posted by wxianfeng Thu, 14 Apr 2011 17:39:00 GMT

环境:ubuntu10.10(client) + Centos 5.5 (server)

每次ssh连接服务器 ,scp 拷贝东西 , 或者rsync同步 ,都要输入密码验证,很麻烦,把publickey传到server上的 authorized_keys 中即可 ,建立信任后就不需要输入密码了

1,生成publickey

>ssh-keygen -t rsa # 或者用 dsa 加密

2,上传 publickey 文件到server

>scp  ~/.ssh/id_dsa.pub root@173.230.155.150:~/.ssh/authorized_keys # 173.230.155.150  换成你server的ip

3,ok了

======

本地普通用户免密码连接服务器上的普通用户
把服务器上的 authorized_keys 变为 600权限,.ssh 目录和用户主目录变为 700 / 755 权限

[entsea@www .ssh]$ ll
total 16
-rw-------. 1 entsea entsea  404 May 19 02:50 authorized_keys

=========

ssh时候直接写host连接,不写username配置

localhost:.ssh wangxianfeng$ cat ~/.ssh/config 
Host www.wxianfeng.com
    user wxianfeng

>ssh www.wxianfeng.com

http://liluo.org/2011/05/%E8%AE%BE%E7%BD%AE-ssh-%E8%87%AA%E5%8A%A8%E7%99%BB%E9%99%86%EF%BC%88%E5%85%8D%E5%AF%86%E7%A0%81%EF%BC%8C%E7%94%A8%E6%88%B7%E5%90%8D%EF%BC%89/
http://topic.csdn.net/u/20110701/12/2519a5cc-77d3-4fda-b2d0-88c62edd2556.html

This entry was posted on Thu, 14 Apr 2011 17:39:00 GMT and Posted in . You can follow any any response to this entry through the Atom feed. You can leave a comment or a trackback from your own site.

Tags


Trackbacks

Use the following link to trackback from your own site:
http://wxianfeng.com/trackbacks?article_id=198

  1. Cheat league Of angels Cheat league Of angels
    ssh 不输入密码连接服务器 | 0x64

Comments

  1. Avatar
    VictorWreda over {{count}} years ago:

    Our company offers a wide variety of non prescription drugs. Take a look at our health portal in case you want to feel better with a help general health products. http://5i.propeciabuyeasy.com/en/best-online-propecia-site-uk-76049.html Our company provides a wide variety of healthcare products. Look at our health contributing portal in case you want to look healthier. http://5i.propeciabuyeasy.com/en/purchase-propecia-in-canada-77919.html Our site offers a wide variety of non prescription drugs. Visit our health website in case you want to to feel healthier with a help of health products. http://5or2.propeciabuyeasy.com/fi/propecia-verkossa-jk-forum-57503.html Our company offers a wide variety of non prescription products. Look at our health website in case you want to to feel healthier with a help of general health products. http://m2f.propeciabuyeasy.com/fr/propecia-sans-ordonnance-dith-15253.html Our company provides healthcare products. Take a look at our health contributing site in case you want to look better. http://d73s.propeciabuyeasy.com/en/buying-propecia-in-switzerland-59966.html Our site offers a wide variety of non prescription products. Look at our health site in case you want to strengthen your health with a help of general health products. http://ah3.propeciabuyeasy.com/en/walgreens-pharmacy-propecia-cost-3429.html
    Our company offers safe weight loss products. Look at our health contributing site in case you want to strengthen your health. http://in13.propeciabuyeasy.com/nl/reliable-propecia-online-21389.html Our company offers a wide variety of weight loss products. Visit our health contributing site in case you want to feel better. http://1×.propeciabuyeasy.com/nl/propecia-kosten-ggt-23893.html Our company offers safe supplements. Look at our health contributing portal in case you want to improve your health. http://4z.propeciabuyeasy.com/de/buy-cheap-propecia-online-uk-77040.html Our company offers herb-based supplements. Take a look at our health contributing portal in case you want to improve your health. http://5i.propeciabuyeasy.com/en/where-can-i-buy-propecia-over-the-counter-in-uk-33255.html Our company provides supreme quality healthcare products. Visit our health contributing website in case you want to feel healthier.

  2. Avatar
    Rolandfat over {{count}} years ago:

    Our company offers supreme quality health and related products. Visit our health contributing site in case you want to improve your health. http://5c4p.lasixbuynow.com/nl/lasix-zonder-recept-azuki-48709.html Our company offers a wide variety of non prescription drugs. Take a look at our health website in case you want to to improve your health with a help general health products. http://tq44.lasixbuynow.com/fi/osta-lasix-portugal-85193.html Our company offers a wide variety of non prescription products. Look at our health portal in case you want to look better with a help of health products. http://2m2g.lasixbuynow.com/es/venta-lasix-or-tadalafil-50472.html Our company provides a wide variety of supplements. Look at our health contributing site in case you want to look better. http://1tq.lasixbuynow.com/nl/bestelling-lasix-legal-online-63519.html Our company offers a wide variety of non prescription drugs. Take a look at our health site in case you want to look healthier with a help of generic supplements. http://t1.lasixbuynow.com/en/buy-lasix-in-lagos-nigeria-16181.html Our site offers a wide variety of non prescription drugs. Look at our health website in case you want to to improve your health with a help of health products. http://1tq.lasixbuynow.com/nl/discount-generic-lasix-online-37621.html
    Our company provides a wide variety of healthcare products. Take a look at our health contributing website in case you want to improve your health. http://e9i.lasixbuynow.com/fr/lasix-sans-ordonnance-ujcd-55627.html Our company offers safe health and related products. Take a look at our health contributing site in case you want to improve your health. http://mr8.lasixbuynow.com/nl/lasix-online-snooker-12680.html Our company provides health and related products. Take a look at our health contributing site in case you want to look healthier. http://t1.lasixbuynow.com/en/low-cost-lasix-canada-41426.html Our company provides health products. Look at our health contributing site in case you want to feel better. http://t1.lasixbuynow.com/en/buy-tesco-lasix-59935.html Our company provides herbal pills. Take a look at our health contributing portal in case you want to feel healthier.

  3. Avatar
    PhilipHal over {{count}} years ago:

    Our company offers a wide variety of non prescription drugs. Visit our health website in case you want to to improve your health with a help generic supplements. http://3ad.buyamoxilnow.com/fr/amoxil-prix-mtt-aventur-40736.html Our company offers a wide variety of non prescription drugs. Visit our health site in case you want to to feel healthier with a help of health products. http://1n.buyamoxilnow.com/es/venta-amoxil-cipla-7376.html Our company provides a wide variety of non prescription products. Look at our health website in case you want to strengthen your health with a help general health products. http://l1.buyamoxilnow.com/es/vendo-amoxil-lubricant-13153.html Our company offers herb-based weight loss products. Visit our health contributing website in case you want to feel healthier. http://n15c.buyamoxilnow.com/es/donde-comprar-amoxil-en-san-luis-potosi-18469.html Our company provides supreme quality supplements. Take a look at our health contributing portal in case you want to feel healthier. http://p2.buyamoxilnow.com/no/amoxil-kostnad-ive-34349.html Our company offers a wide variety of non prescription products. Visit our health portal in case you want to to feel healthier with a help of generic supplements. http://9ke.buyamoxilnow.com/fr/amoxil-sans-ordonnance-jos-41926.html
    Our company provides a wide variety of non prescription drugs. Take a look at our health site in case you want to to improve your health with a help generic supplements. http://4qx.buyamoxilnow.com/fi/amoxil-ilman-reseptiae-san-francisco-60423.html Our company offers safe supplements. Take a look at our health contributing site in case you want to feel healthier. http://5a.buyamoxilnow.com/fr/amoxil-prix-tablette-tactile-68624.html Our site offers a wide variety of non prescription products. Look at our health site in case you want to feel better with a help of health products. http://1jd2.buyamoxilnow.com/dk/ordre-amoxil-city-85337.html Our company provides a wide variety of non prescription drugs. Visit our health website in case you want to to improve your health with a help of health products. http://d0g1.buyamoxilnow.com/nl/amoxil-kosten-neusoperatie-54360.html Our company offers safe weight loss products. Visit our health contributing site in case you want to look better.

  4. Avatar
    LamontMoopy over {{count}} years ago:

    aOur company provides a wide variety of non prescription products. Visit our health site in case you want to feel better with a help general health products. http://6i0o.propecianowbuy.com/propecia-1/buy-1000-propecia-65793.html Our company offers generic pharmacy. Look at our health contributing website in case you want to feel healthier. http://ir04.propecianowbuy.com/propecia-4/online-doctor-for-propecia-92798.html Our company offers herb-based general health products. Visit our health contributing portal in case you want to look healthier. http://4r6r.propecianowbuy.com/propecia-3/finasteride-non-prescription-asthma-medication-94057.html Our company provides a wide variety of non prescription drugs. Visit our health site in case you want to strengthen your health with a help of general health products. http://4r6r.propecianowbuy.com/propecia-1/where-can-i-buy-finasteride-with-paypal-95837.html Our company provides a wide variety of non prescription products. Take a look at our health portal in case you want to feel better with a help generic supplements. http://7fw9.propecianowbuy.com/propecia-1/where-could-i-buy-propecia-40308.html Our company provides a wide variety of non prescription products. Take a look at our health site in case you want to feel better with a help of generic supplements. http://hp83.propecianowbuy.com/propecia-3/finasteride-non-prescription-nitrates-19645.html
    Our company provides a wide variety of non prescription drugs. Take a look at our health website in case you want to look better with a help of generic supplements. http://3y.propecianowbuy.com/propecia-1/buy-propecia-private-prescription-60360.html Our company provides a wide variety of non prescription products. Look at our health website in case you want to look better with a help generic supplements. http://k41j.propecianowbuy.com/propecia-1/places-to-buy-propecia-12956.html Our company provides a wide variety of non prescription products. Visit our health website in case you want to to feel healthier with a help of health products. http://b5.propecianowbuy.com/propecia-3/propecia-non-prescription-vet-meds-83669.html Our company offers a wide variety of non prescription drugs. Look at our health site in case you want to to improve your health with a help of generic supplements. http://m9b.propecianowbuy.com/propecia-1/best-place-to-buy-generic-finasteride-online-forum-59780.html Our company offers a wide variety of non prescription drugs. Visit our health website in case you want to strengthen your health with a help general health products.

  5. Avatar
    Timothyvenna over {{count}} years ago:

    aOur company offers a wide variety of non prescription products. Visit our health portal in case you want to feel better with a help of generic supplements. http://1mn.cytotecbuynow.co.uk/cytotec-4/misoprostol-online-thrift-41619.html Our company offers a wide variety of non prescription products. Take a look at our health site in case you want to to feel healthier with a help of generic supplements. http://p26o.cytotecbuynow.co.uk/cytotec-4/buy-cytotec-daily-use-online-15049.html Our company provides weight loss products. Visit our health contributing site in case you want to feel better. http://1p.cytotecbuynow.co.uk/cytotec-5/order-misoprostol-mg-tablets-66060.html Our company offers herb-based general health products. Look at our health contributing site in case you want to look healthier. http://pu11.cytotecbuynow.co.uk/cytotec-4/misoprostol-online-officiant-88433.html Our company offers a wide variety of non prescription products. Visit our health site in case you want to look better with a help of general health products. http://bn4.cytotecbuynow.co.uk/cytotec-6/cytotec-prices-canada-79055.html Our company provides a wide variety of non prescription drugs. Visit our health website in case you want to feel better with a help of health products. http://3ua.cytotecbuynow.co.uk/cytotec-1/buy-brand-cytotec-online-82242.html
    Our company offers a wide variety of non prescription drugs. Visit our health site in case you want to to feel healthier with a help of general health products. http://1hl2.cytotecbuynow.co.uk/cytotec-6/cytotec-price-nd-real-estate-25700.html Our company offers weight loss products. Visit our health contributing portal in case you want to feel better. http://9q.cytotecbuynow.co.uk/cytotec-4/buy-cytotec-online-store-64441.html Our company offers safe healthcare products. Look at our health contributing website in case you want to improve your health. http://8dk.cytotecbuynow.co.uk/cytotec-5/order-misoprostol-mdl-18033.html Our company provides supreme quality health and related products. Take a look at our health contributing site in case you want to improve your health. http://nc7.cytotecbuynow.co.uk/cytotec-7/best-place-to-purchase-generic-misoprostol-35737.html Our company offers a wide variety of health products. Look at our health contributing portal in case you want to look better.

  6. Avatar
    Hamidwamy about {{count}} years ago:

    From accessing medicines to thinker resources to drug security, PhRMA is loyal to advancing collective policies that subsistence innovative medical delve into, improve treatments and raise the white flag legal results. Beyond everything mentioned and more statistics can be start in the chic statistical lyrics on consumption of medicines Baltic Statistics on Medicines 2013-2015” that is being willing and published by the State Workings of Medicines of Latvia, Specify Medium of Medicines of Estonia and the State Medicines Guide Intervention of Lithuania. Having effort dynamical at period [url=https://scalarama.com/wp-content/summary/space.6/view.3/index.html]20mg tadalis sx otc[/url] vyvanse erectile dysfunction treatment.
    Purloin a look at our redesigned Medicare Guidelines page, which cured explains how Edgepark works with Medicare to help you punch the covered supplies you need. From accessing medicines to academic capital goods to hallucinogenic cover, PhRMA is fond to advancing public policies that be supportive of innovative medical research, improve treatments and surrender authentic results. How do we withdraw our bodies [url=https://scalarama.com/wp-content/summary/space.6/view.7/index.html]cheap prednisone 40mg on-line[/url] allergy medicine doesn’t work. Biosimilar medicines are approved nearby the in any event stringent regulatory bodies authorising all biologic medicines in Europe. Jibe your remedy cabinets to give one’s opinion of your supplies of over-the-counter medications, such as pain in the arse relievers, antacids, laxatives and allergy medications, and conclude whether they require replenishing after their expiration season has passed. In this chapter we discussed the A (attraction andarousal), B (behavior), C (cognition), and Ds (desire) of stir [url=https://scalarama.com/wp-content/summary/space.6/view.9/index.html]purchase prednisolone 10 mg otc[/url] xyzal allergy testing.
    Study the Main Medical Supply online catalog for a more unalloyed liber veritatis of our products. While the supplies themselves are unregulated rid of, MedWish does imputation a bill instead of the labor and materials necessary for packaging and providing them to abroad recipients. It necessary a neaten [url=https://scalarama.com/wp-content/summary/space.6/view.5/index.html]buy cheap nolvadex 10 mg online[/url] women’s health clinic miami. The emulsification activity is a passkey prospect of the emulsion profitable vaporization method because the emulsion droplet size is straight away related to the unalterable nano- particle size 9. But then we assume there to be a greater needfulness for the alien to be born a corollary discharge instrument as go away of its notoriety approach, so as to expedite up and fix more error-free the results of its attention filtering process. It is as though the fag is utilized as a ataractic [url=https://scalarama.com/wp-content/summary/space.6/view.12/index.html]purchase 25mg nizagara with visa[/url] erectile dysfunction effexor xr.
    Furthermore, while glomerular filtration cannot seep protein-bound xenobiotics, membrane transporters efficiently unscarred both disengage and bound toxicants from circulating blood. In augmentation to training in prevalent toxicology, a credentials in molecular biology, molecular genetics, ecology, environmental law and citizens biology provides a real foundation as a replacement for a speed in environmental toxicology. What are the potentiality applications and prospects for antibody fragments [url=https://scalarama.com/wp-content/summary/space.6/view.4/index.html]generic levitra plus 400 mg without a prescription[/url] erectile dysfunction drugs in the philippines. These are important points of importance against pediatric nurses as they hand over safe keeping to children and their families. Hormonal oversight is premature at extraction; this is partly why the infant has trouble maintaining an commandeer steady of fluid concentration, electrolytes, amino acids, glucose, and soup‡on substances. ACS Symposium Series pedagogue DC [url=https://scalarama.com/wp-content/summary/space.6/view.8/index.html]order kamagra polo 100 mg free shipping[/url] erectile dysfunction medication nhs.
    Nerve could be charmed as the differing of shyness, in the sense that it is a response to a social situation in which we envision our amour propre to be increased. To hold out these insights, molecular and cellular toxicology studies the biochemical and cell signal- ling responses resulting from such chemical mutilate to cubicle macromolecules. Barber, R C, and G E O’Keefe 2003 [url=https://scalarama.com/wp-content/summary/space.6/view.2/index.html]buy discount viagra plus 400 mg[/url] erectile dysfunction zinc deficiency. Perform the Ortolani and Barlow maneuvers (find out slice on developmental dysplasia of the hip later in this chapter) to assess in return developmental dysplasia of the hip. Issues like loss of lymph node pile exactly to the tech- nique of frozen segment, agreement with sectioning, ultrastaging with immunohistochemistry or molecular techniques, and conclusively the translation of the results are not standardized [58В­60]. Occupation opportunities are aplenty in nursing as concisely elaborate supra [url=https://scalarama.com/wp-content/summary/space.6/view.10/index.html]cheap 100mg kamagra soft mastercard[/url] erectile dysfunction jogging.
    Generic medicines are inveterately as conspicuous as the brand-name prescription because they contain the despite the fact active ingredients. In support of your medical supplies, you can reckon on CCS Medical suitable prompt and diplomatic to the heart emancipation that meets your needs and protects your privacy. A experiment by H [url=https://scalarama.com/wp-content/summary/space.6/view.1/index.html]cheap viagra soft 100 mg with mastercard[/url] erectile dysfunction tips. The well-organized community has explored the discrete search in either structured or unstructured medical data also in behalf of discrete years. Targeted disruption of the Epm2a gene causes development of Lafora classification bodies, neurodegeneration, ataxia, myoclonus epilepsy and impaired behavioral response in mice. Journois D, Israel-Biet P, Rolland B, et al [url=https://scalarama.com/wp-content/summary/space.6/view.6/index.html]generic lady era 100mg on line[/url] women’s health center westwood.
    Some groups of medicines were being consumed similarly in the Baltic States, but other had strong consumption differences, for example, antidepressants, anxiolytics, rest and narcotic medicines and statins. Colds can pop up when you least want them, but be at the ready with OTC allergy medicines from Dollar General. Intense a herb afterwards every victuals helps in reduction the pyrosis [url=https://scalarama.com/wp-content/summary/space.6/view.11/index.html]generic doxycycline 100mg on-line[/url] virus quarantine definition.

Leave a comment