...
Code Block | ||
---|---|---|
| ||
eigilo@accessloginansatt01:~$ ssh debian@172debian@10.16212.1137.6112 -i .ssh/id_rsa The authenticity of host '17210.16212.1137.6112 (17210.16212.1137.6112)' can't be established. ECDSA key fingerprint is SHA256:PIR85mFU0TiOZ0mXHz1ExMvds1D1YO1eF+/TTniAYfo. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '17210.16212.1137.6112' (ECDSA) to the list of known hosts. The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. debian@mysecondserver:~$ |
...
The various images uses different user-names. After login all images has sudo which allows the default user to become root. Reffer to this list to see which username the default user uses:
- CentOS 7 and 8 images: centos
- CentOS 9 images: cloud-user
- Debian based images: debian
- CirrOS (used for testing) has the username "cirros" and password "
cubswin:)
" - Fedora based images: fedora
- Feodre CoreOS based images (the ones used for the Kubernetes-clusters): core
- Ubuntu based images: ubuntu
- RedHat based images: cloud-user
- Kali Linux: kali
- Rocky Linux: rootrocky
- AlmaLinux: almalinux
Accessing the GUI of the Kali Linux image
The Kali Linux image provided in SkyHiGh comes vith VNC-server enabled for root by default. It listens on TCP 5901. To access it just point the VNC client of your choice to <kali-floating-ip>:5901
, you must create an SSH tunnel, and remember and you should be good to go.
Remember to allow incoming traffic on TCP 5901 in a security group . Example for Linux clients:
Code Block |
---|
larserik@sarah:~$ ssh -f -L 15901:<kali floating ip>:5901 <username>@skyhigh.hig.no -N |
attached to your Kali machine.
The password is "kaliVNC" Now you should be able to access the Kali Desktop with a VNC client, when you connect to localhost:15901. The password is kaliVNC (feel free to change it to your own liking. In fact, you should really do that.)
To change the password, login to the kali VM via SSH, and run the command vncpasswd
Code Block |
---|
┌──(kali㉿kali)-[~]
└─$ vncpasswd
Using password file /home/kali/.vnc/passwd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n |