Skip to content

Instantly share code, notes, and snippets.

@eegrok
Created June 23, 2011 21:48

Revisions

  1. eegrok revised this gist Jul 7, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion no-ssh-password-mac.txt
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    make sure the following lines are set in /etc/ssh/sshd_config
    make sure the following lines are set in /etc/sshd_config (or /etc/ssh/sshd_config on ubuntu)
    (they all exist already, but are commented, some may have a value of yes)

    PasswordAuthentication no
  2. eegrok revised this gist Jun 23, 2011. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions no-ssh-password-mac.txt
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    make sure the following lines are set in /etc/ssh/sshd_config
    (they all exist already, but are commented, some may have a value of yes)

    PasswordAuthentication no
    ChallengeResponseAuthentication no
  3. eegrok created this gist Jun 23, 2011.
    7 changes: 7 additions & 0 deletions no-ssh-password-mac.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    make sure the following lines are set in /etc/ssh/sshd_config

    PasswordAuthentication no
    ChallengeResponseAuthentication no
    UsePAM no

    then restart the ssh server (uncheck / recheck 'Remote Login' in the 'System Preferences' -> 'Sharing' panel)