Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
jamesdean-1
Participant
Jump to solution

Cloudguard SSH login

Hi we have some cloudguards deployed in AWS, they are working fine and SIC established etc, but SSH login does not work, there are local usernames and passwords, but when we try and SSH to them we get a message after entering username, that it only supports public key based login.

I pushed a new username password via one time script but still the same error occurs. how can we enable user based login?

 

 

 

0 Kudos
1 Solution

Accepted Solutions
Nir_Shamir
Employee Employee
Employee

the default settings in AWS instances is to only login with a public key.

to change it run on the instances these commands:

Via CLISH:

set ssh server password-authentication yes

set ssh server permit-root-login yes

 

or from the one time script in SmartConsole:


clish -s -c 'set ssh server password-authentication yes'

clish -s -c 'set ssh server permit-root-login yes'

View solution in original post

4 Replies
the_rock
Legend
Legend

Try edit the /etc/ssh/sshd_config file and ensure the PasswordAuthentication parameter is set to "yes". Save with :wq!, restart ssh service -> service sshd restart and try again.

Andy

0 Kudos
Nir_Shamir
Employee Employee
Employee

the default settings in AWS instances is to only login with a public key.

to change it run on the instances these commands:

Via CLISH:

set ssh server password-authentication yes

set ssh server permit-root-login yes

 

or from the one time script in SmartConsole:


clish -s -c 'set ssh server password-authentication yes'

clish -s -c 'set ssh server permit-root-login yes'

jamesdean-1
Participant

thats great that did the trick! thanks

0 Kudos
the_rock
Legend
Legend

Good to know Nir!

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.