1 reply [Poslední]
angol
Obrázek uživatele angol
User offline. Last seen 42 týdnů 4 dny ago. Offline
Joined: 07/24/2011

Здравствуйте!!!!!

Настраиваю подключение по ssh используя публичный ключ, но все как - то не получается по нем подключиться.
Что я сделал:

1. Создал публичный и приватный ключ
2. Публичный скопировал в файл authorized_keys а секретный перенос на машину, с которой будем подключаться
3. Преобразовать наш закрытый ключ, в ключ поддерживаемый Putty.
4. Потом захожу через Putty ввожу логин и вместо того, что бы пройти аунтентификацию по публичному ключу ввожу пароль для логина

Предоставляю конфигурационный файл вашему вниманию.....может быть в нем какая - то ошибка

  1.  
  2. # $OpenBSD: sshd_config,v 1.81 2009/10/08 14:03:41 markus Exp $
  3.  
  4. # This is the sshd server system-wide configuration file. See
  5. # sshd_config(5) for more information.
  6.  
  7. # This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
  8.  
  9. # The strategy used for options in the default sshd_config shipped with
  10. # OpenSSH is to specify options with their default value where
  11. # possible, but leave them commented. Uncommented options change a
  12. # default value.
  13.  
  14.  
  15. Port 22
  16. Protocol 2
  17.  
  18. # Ключ сервера для протокола версии 1
  19. HostKey /etc/ssh/ssh_host_key
  20. # Ключи rsa и dsa для ssh версии 2
  21. HostKey /etc/ssh/ssh_host_rsa_key
  22. HostKey /etc/ssh/ssh_host_dsa_key
  23.  
  24. KeyRegenerationInterval 3600
  25. ServerKeyBits 1024
  26.  
  27. LoginGraceTime 600
  28. PermitRootLogin yes
  29. StrictModes yes
  30.  
  31. RSAAuthentication yes
  32. PubkeyAuthentication yes
  33. AuthorizedKeysFile .ssh/authorized_keys
  34.  
  35.  
  36. #RhostsAuthentication no
  37. RhostsRSAAuthentication no
  38. #IgnoreHosts yes
  39. IgnoreRhosts yes
  40. HostbasedAuthentication no
  41. IgnoreUserKnownHosts no
  42. UseLogin yes
  43. PasswordAuthentication yes
  44. PermitEmptyPasswords no
  45. UsePAM yes
  46.  
  47. X11Forwarding no
  48. #X11UseLocalhost yes
  49. PrintMotd yes
  50. PrintLastLog yes
  51. #KeepAlive yes
  52. MaxStartups 10
  53.  
  54. Subsystem sftp /usr/lib/ssh/sftp-server
  55.  

Заранее благодарю!

chen1201
Obrázek uživatele chen1201
User offline. Last seen 1 den 17 hodin ago. Offline
Joined: 05/16/2012
Coach Factory brand creates

Coach Factory brand creates attractive designer Coach Handbags and accessories. If you're a woman who loves Coach Outlet Online to stand in the front of Coach Outlet Online the fashion world and complete your fashion wardrobe, then you certainly can choose Coach Outlet. Style was probably not important in ancient times, or to the hunter Coach Purses Outlet, however with the evolution of the handbag century's later, Cheap Coach Handbags had become an important accessory to complete any style. One of the most well-known brands Coach Outlet Store Online in the bags world is Coach. Both men and women recognize the Coach logo and millions continue to support Coach Outlet season after season. If you like Coach brand, then louis vuitton purses are catered for you. They have trendy and smart look and the Coach Outlet Online have qualities which cannot be overlooked Coach Factory Outlet by a fashionista and every bag speaks of personality. Coach Shoulder Bags comes in different colors and sizes from Coach Outlet, which means that you can go in for one that suits you the most.Made up of various rare materials, Our Coach Outlet Online has a variety of collections of Cheap Coach Handbags Outlet. But do not despair, a Coach Outlet Store could be the answer to your prayers, allowing you to buy one of America's most popular Cheap Coach Purses at a snippet of the price. Coach Factory Outlet can last for a long time and makes you in the front of the fashion world. Louis vuitton handbags bold and aesthetic characteristics deserve your deep appreciation. Women are nature loving fashion Coach Outlet Canada, and they love to buy a luxury fashion and quality pursuit. From http://www.coachsfactory-s.org/ If you do, too, then come to Coach Outlet Online! Welcome to enjoy it!