openwhisk-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-openwhisk] houshengbo commented on issue #4335: How to configure the ssh access among different openwhisk nodes
Date Wed, 13 Mar 2019 18:32:12 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message