VMware Cloud Community
swiss5
Contributor
Contributor
Jump to solution

recover sshd_config configuration

hi

I tried to configure passwordless ssh access.

I did a mistake:

/etc/ssh/keys-root/authorized_keys --> with my Linux id_dsa.pub

sshd_config --> ChallengeResponseAuthentication no

mkdir /.ssh/authorized_keys (copied from /etc/ssh...)

/etc/init.d SSH restart

.... snipped ...

debug1: Authentications that can continue: publickey

debug1: Next authentication method: publickey

debug1: Trying private key: /home/aarquint/.ssh/id_rsa

debug1: Offering DSA public key: /home/aarquint/.ssh/id_dsa

debug1: Authentications that can continue: publickey

debug1: Trying private key: /home/aarquint/.ssh/id_ecdsa

debug1: Trying private key: /home/aarquint/.ssh/id_ed25519

debug1: No more authentication methods to try.

Permission denied (publickey).

How do I recover ssh configuration? 'cos I cannot login anymore. Locked out 😞

Please help

s5

Reply
0 Kudos
1 Solution

Accepted Solutions
swiss5
Contributor
Contributor
Jump to solution

I figured it out be myself 😉

Simply connect to DCUI and hit "ALT + F1" and you are getting shell access immediately.

Saved

View solution in original post

Reply
0 Kudos
1 Reply
swiss5
Contributor
Contributor
Jump to solution

I figured it out be myself 😉

Simply connect to DCUI and hit "ALT + F1" and you are getting shell access immediately.

Saved

Reply
0 Kudos