houshengbo commented on issue #4335: How to configure the ssh access among 
different openwhisk nodes
URL: 
https://github.com/apache/incubator-openwhisk/issues/4335#issuecomment-472550489
 
 
   I succeeded!
   There is a file called jenkins.pub under /etc/ssh/ssh_keys, which can be 
used to stored the authorized public keys. When I put the public key in it, the 
user jenkins can access this VM remotely.
   
   Also, the configuration of sshd also tells me where to configure. This is 
the content of the file /etc/ssh/sshd_config:
   ListenAddress 0.0.0.0
   
   AcceptEnv LANG LC_*
   AuthorizedKeysCommand /etc/ssh/bin/asf-ldap-sshkeys.sh
   AuthorizedKeysCommandUser root
   AuthorizedKeysFile /etc/ssh/ssh_keys/%u.pub
   ChallengeResponseAuthentication no
   PasswordAuthentication no
   PrintMotd no
   Protocol 2
   Subsystem sftp /usr/lib/openssh/sftp-server
   SyslogFacility AUTHPRIV
   UsePAM yes
   X11Forwarding no
   
   We can see that the public keys should be saved under /etc/ssh/ssh_keys/.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to