Home Forums OS X Server and Client Discussion Questions and Answers ssh public key authentication fails

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #354964
    kikjou
    Participant

    I am using MacOSX Server 10.3.2 and I am trying to establish an ssh connection using my public key. In the past (I believe before 10.1) this was possible, but only for the administrator account. In the current configuration (out of the box ssh daemon, no changes) public key authentication fails.
    Is there a way to get this to work? I can think of
    (a) upgrading SSH to the latest version (but I will need to do that after every OS upgrade and I am not too Unix savvy) or
    (b) making changes to the configuration file but I would not know how.

    #354967
    legacyb4
    Participant

    Hate to run through the basics, but did you happen to make any changes to the /etc/sshd_config file?

    Also, did you copy your public key into your account on the server under the .ssh/authorized_keys file? [url=http://macosx.dyndns.org/guides/ssh_win/]Link[/url] for using SSH from a Windows machine; doing on a Mac is tons easier…

    Cheers.

    [quote:d99b287443=”kikjou”]I am using MacOSX Server 10.3.2 and I am trying to establish an ssh connection using my public key. In the past (I believe before 10.1) this was possible, but only for the administrator account. In the current configuration (out of the box ssh daemon, no changes) public key authentication fails.
    Is there a way to get this to work? I can think of
    (a) upgrading SSH to the latest version (but I will need to do that after every OS upgrade and I am not too Unix savvy) or
    (b) making changes to the configuration file but I would not know how.[/quote:d99b287443]

    #354973
    kikjou
    Participant

    I may have changed /etc/sshd_config with earlier versions of 10 Server. How can I get a virgin version of it? Or is there another way to revert to the default settings?

    I did upload my public key to the apporpriate file and I made sure that my private key was read/write by me only.

    I am trying to connect from a Mac running 10.2.3, but I am also trying to connect from my MacOSX Server to a Win2000 machine running some sort of ssh package.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed