remote-access from Unix operator

970 Views Asked by At

Other posts have talked about using /etc/ssh/sshd_config to change the authorization settings.

What Authorization settings should I set my sshd_config be on if I want this password to connect?

  jacobs-mbp:~ nuevo$ ssh  [email protected]          
  The authenticity of host '141.158.1.6 (142.158.1.6)' can't be established.       
  RSA key fingerprint is b1:0b:cn:o7:6b:f1:22:c5:x5:d1:f8:d2:63:d8:b2:2l.  
  Are you sure you want to continue connecting (yes/no)? yes  
  Warning: Permanently added '141.158.1.6' (RSA) to the list of known hosts.  
  Password:  
  Password:  
  Password:  
  Permission denied (publickey,keyboard-interactive).  

http://www.faqs.org/docs/securing/chap15sec122.html

1

There are 1 best solutions below

15
On

Here are the steps to change it:

su
Password:
cd /private/etc
vi sshd_config

Now type this to search for PasswordAuthentication:

/PasswordAuth    <Enter>

Now press h a few times to move to the very left of the line and you are on the #

Now press x to delete the #

Now type the following to write and quit:

:wq  <Enter>

If you get stuck or lost at any point in the editor, type the following to quit without saving

:q!    <Enter>