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U1xoa3PC5J+
AKQJ9FcmTQk9Ln84jGSOkhj0OPHfa5Xa3EjK5qdwaP2iwNe4SXyXO9T7opA6MBoXO4RKac
/Doifw9qz1YZxzThn12/Zpxx8qryNqlsz70uj88XsEXAYnN2/I9/HlKp8p9HYspzYrcFYK
QIGxzX8uy2otSVoWV8GB9Q0ceLdCc7AAAAwQDAiUjXF8myBYt1J4gZgBpY5dZVQ73laU2v
iTLNiFX4CbI59p6OXilxYm/vtSyKVjrFlnla7UtOpi7Ylh3PWuz43gH3l/knZ3lf7DnjJO
/U6ux9JvetPMzp9qrf8kRL8RTMji2Lo3giYevgT4Lv3ASTQWE7DNahAYwV0FA4pwA5dQHq
V9ZfdORT8qDHX4FSEbY681mDB66nkrD5AoYO4XYYd67vy2C3KOXD9901llmM+f2aGp8UjI
HzfKMk8Wg27VkAAAAKcm9vdEBuYXBwYQE=
-----END OPENSSH PRIVATE KEY-----
$ chmod 600 kathleen_id_rsa
$ ssh -i kathleen_id_rsa root@192.168.99.114 -p 60022
The authenticity of host '[192.168.99.114]:60022 ([192.168.99.114]:60022)' can't be established.
ECDSA key fingerprint is SHA256:fCoHtJfCUqjGijse/eAZYqHM4X/4H/15HIGbM/atqis.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[192.168.99.114]:60022' (ECDSA) to the list of known hosts.
[root@nappa ~]# whoami;id;hostname
root
uid=0(root) gid=0(root) groups=0(root)
Last updated