Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

SSH Key login

#6

Nativa locks up if SSH key login are used on the server. SSHCommand.sh locks in the expect waiting for error or password field even though tunnel is already connected.

Solved it by removing the default error in expect script and setting a finite timeout, can probably be solved in a better way though

Reported by vekkt0r · March 22nd, 2010 @ 12:49 AM

State: resolved
Milestone: 0.4.0
Assigned to: vovasty vovasty

Activity

  1. dkobzev
  2. vovasty
    vovasty

    Thank you for tip

    BUT :)

    I think "full featured" ssh support is out of scope Nativa. And also, I have bad memories with using ssh libraries (magic errors, too difficult to reproduce).

    March 26th, 2010 @ 05:37 AM

  3. vovasty
    vovasty
    • Milestone set to 0.4.0
    • State changed from new to open

    March 29th, 2010 @ 06:45 AM

  4. vovasty
  5. vovasty
  6. vovasty
    vovasty

    If you can, please test attached version

    April 2nd, 2010 @ 08:30 PM

  7. vovasty
  8. dkobzev
    dkobzev

    Чет с ssh все, как то плохо. С паблик кей нив какую не стартует. Закоментил снова все экспекты, заработало.

    April 2nd, 2010 @ 10:23 PM

  9. vovasty
    vovasty

    passphrase пустая?

    April 2nd, 2010 @ 10:28 PM

  10. dkobzev
    dkobzev

    угу. галку ставил.

    April 2nd, 2010 @ 10:41 PM

  11. vovasty
    vovasty

    у ключа какая passphrase? пустая или пароль?

    April 2nd, 2010 @ 10:47 PM

  12. dkobzev
    dkobzev

    Естественно ключ под паролем. (я параноик 8) ) Догадываюсь в принципе почему не пашет :) киберутке тоже паблик под паролем не понравился, но она конектится может с паролем в обход паблик ключа.

    April 2nd, 2010 @ 11:05 PM

  13. vovasty
    vovasty

    Это если позволяет SSH сервер такое. Так, а ключ спрашивается
    keychain'ом (ssh-agent)? Если нет, можете показать что там пише ssh?

    April 2nd, 2010 @ 11:47 PM

  14. dkobzev
    dkobzev

    Ключ спрашивается единожды, при первом запуске. Это по сути защита от копирования ключа. Заносится вроде в кейчайн, хотя не уверен, окошко запроса было, не обратил внимания кейчайн или нет. При попытке соединения Nativa ssh-agent стартует, висит в процессах, но соединения не происходит.

    April 3rd, 2010 @ 12:06 AM

  15. vovasty
    vovasty
    • State changed from open to resolved

    so, I can't find any problem with ssh key login. Ticket closed. Feel free to reopen it=)

    April 3rd, 2010 @ 09:50 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.