Ask Your Question
0

How it can be made compulsory for My instance to use key-pair on ssh

asked 2017-04-19 01:13:31 -0600

deepak2112 gravatar image

I have installed newton release

I can ssh to my instance without key-pair also and with key-pair also,

my question is

how can i make my instance to login only by using key-pair not without key-pair ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-04-19 01:26:56 -0600

OpenStack can't force the instance to reject password authentication. You need to change the sshd configuration on the instance. E.g. modify the image you boot from, so that /etc/ssh/sshd_config contains the line PasswordAuthentication No.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-04-19 01:13:31 -0600

Seen: 51 times

Last updated: Apr 19 '17