Rescue mode | Can't able to ssh

Hi All,

I got a permission denied error while entering into rescue mode

###########################################
Sample Response:
root@assistanzletmein-VirtualBox:~# ssh root@192.168.4.39
The authenticity of host ‘192.168.4.39 (192.168.4.39)’ can’t be established.
ECDSA key fingerprint is SHA256:0WuGp2TAXrWUZdPkLCG64NjaX4O6EYtSiYNzhw/YRX0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘192.168.4.39’ (ECDSA) to the list of known hosts.
root@192.168.4.39’s password:
Last login: Tue Aug 27 07:07:07 2019
/bin/bash: Permission denied
Connection to 192.168.4.39 closed.
root@assistanzletmein-VirtualBox:~# ssh -i id_rsa centos@192.168.4.39
Enter passphrase for key ‘id_rsa’:
Last login: Thu Aug 22 06:25:05 2019 from assistanzletmein-virtualbox.maas
/bin/bash: Permission denied
Connection to 192.168.4.39 closed.
root@assistanzletmein-VirtualBox:~#
root@assistanzletmein-VirtualBox:~#
root@assistanzletmein-VirtualBox:~# ssh -i id_rsa centos@192.168.4.39
Enter passphrase for key ‘id_rsa’:
Last login: Tue Aug 27 07:09:28 2019 from assistanzletmein-virtualbox.maas
/bin/bash: Permission denied
Connection to 192.168.4.39 closed.
root@assistanzletmein-VirtualBox:~# ping 192.168.4.39
PING 192.168.4.39 (192.168.4.39) 56(84) bytes of data.
64 bytes from 192.168.4.39: icmp_seq=1 ttl=64 time=0.651 ms
64 bytes from 192.168.4.39: icmp_seq=2 ttl=64 time=1.40 ms
^C
— 192.168.4.39 ping statistics —
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.651/1.027/1.404/0.377 ms
###########################################

Can anyone help me to resolve this issue …

Thanks in advance!!!
John

Rescue mode uses the Ubuntu ephemeral environment. The username is ubuntu and your public key should be automatically added.

Thanks Ltrager…

is possible to ssh centos machine in rescue mode?

No, only Ubuntu LTS releases can be selected as an ephemeral operating system.

1 Like

Noted…apologies for late response :expressionless:
Thanks for your response!!!

1 Like