Remote Access to Main Console With SSH

Hi,

This is my first post here, hope you can assist me. I’m a user of Nethserver since 2019, when i drop SmeServer.

I’ve one doubt about remote access to main console. I’ve a headless server that i want to see by SSH, what’s is going on the main console (the one that’s presented when the server boots up). Is this possible?

Thanks in advance.

Hi and welcome to Nethserver Community,

to output what’s on the console you may use following command, the terminal needs to have the same column count as the console to get usable output. (Source)

cat /dev/vcs

Live view of console:

watch -n 1 cat /dev/vcs

If you just want to check for kernel messages you may use

dmesg

If you use virtualization like Proxmox or servers with remote functions like IPMI (HP) you can connect remotely to the console.

2 Likes