كارت dvb , كارت دي وي بي , دی وی بی , رسيور , رسیور
| |
اين يك بخش از موضوع SSH passwordless login with putty است كه در انجمن لینوکس مطرح گرديده و اين انجمن نيز زير مجموعهي مقالات آموزشی است: For Linux administrators that use Windows for their desktop OS, Putty is an invaluble tool. This tutorial will help you save time administering your servers without having to login to provide a username and password each time. Click on image for play tutorial: 1. Download PuTTY 2. Download PuTTYgen 3. ...
| ثبت نام | پست جدید | All Albums | Blogs | راهنما | فهرست کاربران | تقویم | جستجو | ارسالهاي امروز | نشانه گذاري انجمن ها به عنوان خوانده شده |
| | ||||||||
| لینوکس لینوکس |
| اطلاعيههاي سايت |
|
| LinkBack | ابزارهای موضوع |
| | #1 | |||||||||||
| کاربر نقرهای ![]() ![]() ![]() ![]() ![]() ![]() تاریخ عضویت: May 19th, 2006
نوشته ها: 1,184
سطح دانش: 30 [ ![]() ![]() ![]() ![]() ]سابقه در سایت: 72 / 725 Thanks: 75
Thanked 768 Times in 401 Posts
قدرت اعتبار: 5 | For Linux administrators that use Windows for their desktop OS, Putty is an invaluble tool. This tutorial will help you save time administering your servers without having to login to provide a username and password each time. Click on image for play tutorial: ![]() 1. Download PuTTY 2. Download PuTTYgen 3. Open PuTTYgen * Select SSH-2 RSA * Click ‘Generate’ 4. Save the Private Key * Click ‘Save private key’ (you do not have enter a password) * Save the private key in location easy to remember. 5. Copy public-key * Select all text in the public key area. * right-click and select copy 6. Configure the server settings in Putty * Open Putty * Click Session (left column) o Enter the server hostname or IP address o Enter a name under ‘Saved Sessions’ * Click Connection > Data (left column) o Enter ‘root’ for the auto-login username * Click Connection > SSH (left column) o Select ‘2′ as the Preferred SSH protocol version. * Click Connection > SSH > Auth (left column) o Browse to the private key from step 4. * Click Session (left column) o Click Save 7. Open a session with the server * Open PuTTY * Select the session saved earlier. * Click ‘Load’ * Click ‘Open’ * Login 8. Add client public key. * You should still have the public-key in the clip-board from step 5. * Open the authorized_keys file on the linux server o [root@server]#vi ~/.ssh/authorized_keys2 o Press the ‘i’ key to insert in vi. o Go to the bottom of the file and right-click on the putty screen (This should insert the public key generated with PuTTYgen) o Press the ‘esc’ key to get out of insert mode in vi. o Press ‘:’ to enter command mode in vi o Type ‘wq’ to write and quit vi 9. Now, you should be finished. Let’s test. * Open PuTTY * Select the session saved earlier. * Click ‘Load’ * Click ‘Open’ 10. If you were able to login without entering your username and password you are finished!!If not, please continue to troubleshoot. Troubleshooting: If you do not have a /root/.ssh folder, we will have to create one and set the permissions: کد: [root@server]#mkdir ~/.ssh[root@server]#chmod 700 ~/.ssh کد: [root@server]#vi ~/.ssh/authorized_keys2[root@server]#chmod 644 ~/.ssh/authorized_keys2 کد: [root@server]#chmod 700 ~/.ssh[root@server]#chmod 644 ~/.ssh/authorized_keys2
__________________ یادت نره | |||||||||||
| |
| برچسب ها |
| ssh , passwordless , login , putty |
| ابزارهای موضوع | |
| |
| ||||
| موضوع | نویسنده موضوع | انجمن | پاسخ ها | آخرين نوشته |
| روش ايجاد User's Login در Sql Server | shaabani | دلفی - Delphi | 5 | Monday 9 April 2007 04:54 PM |
| آسیب پذیری پیوست فایل در Advanced Login | jamy | آسيب پذيريهاي امنيتي | 0 | Saturday 31 March 2007 12:33 PM |
| مجوز نا امن فایل ها در PuTTY | jamy | آسيب پذيريهاي امنيتي | 0 | Tuesday 6 March 2007 04:50 PM |
| اکانت Ha ck شده مجانی rapidshare | Mostafa | بخش Internet | 8 | Saturday 9 September 2006 04:46 AM |
تمامي قوانين اين سايت از جمهوري اسلامي ايران پيروي مي کند و هرگونه مطالب مخالف قوانين ايران و بنر يا لينک مستهجن در اين سايت جايي ندارد