Use ssh without password for specific user on OpenStack instance [closed]

asked 2016-01-12 13:55:28 -0500

Jencek gravatar image

Hello comunity,

I am trying to solve problem with ssh command on Centos 6.6. I have OpenStack instance with generated keypair. So when I am accessing the instance I have to set command like "ssh -i nameOfKey.key centos@hostname". Problem occurring when I need to install on Linux some IBM software and it is calling command like "ssh smadmin@localhost". I want set in /etc/ssh/sshd_config that some user/group can use ssh command without -i parameter and key. Is it possible? I have written next 4 lines into sshd_config.

Match user jp PasswordAuthentication no GSSAPIAuthentication no PubkeyAuthentication no

But if I try to ssh user jp(ssh jp@localhost). I got "Permission denied, please try again". Thanks for any advice Jan.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by rbowen
close date 2016-01-13 09:27:32.188890