As an alternative to traditional SSH, I have successfully installed MOSH on Proxmox VE 6.2-9 and can manage it from Ubuntu 18.04.04.
This is not surprising, as PVE is now Debian-based (which is excellent). But if you are looking for a way to manage the Proxmox console remotely that is highly resistant to disconnected sessions, this may be helpful to you. It is different from screen and not necessarily better for all tasks. But it far exceeds Putty's capabilities in many situations, such as moving between different IPs within the same network or even when changing physical media (e.g. from wireless to wired docks).
To learn more about MOSH, you may wish to read here and here.
PVE Console> # apt install mosh
workstation> sudo apt install mosh
workstation> mosh root@<proxmox-ve.mydomain>
MOSH is key-based so on first connect you will be 'warned' the key is not confirmed as authentic. Once accepted you will only be warned if the accepted (server) key is different than previously accepted as authentic.
workstation> The authenticity of host 'proxmox-ve.mydomain (<no hostip for proxy command>)' can't be established.
workstation> ECDSA key fingerprint is SHA256: {long fingperprint}
workstation> Are you sure you want to continue connecting (yes/no)? yes
workstation> Warning: Permanently added 'proxmox-ve.mydomain' (ECDSA) to the list of known hosts.
workstation> root@proxmox-ve.mydomain's password:
When finished with your MOSH session, simply type 'exit' as you probably expect. It will dump you right back into your regular local terminal program.
This is not surprising, as PVE is now Debian-based (which is excellent). But if you are looking for a way to manage the Proxmox console remotely that is highly resistant to disconnected sessions, this may be helpful to you. It is different from screen and not necessarily better for all tasks. But it far exceeds Putty's capabilities in many situations, such as moving between different IPs within the same network or even when changing physical media (e.g. from wireless to wired docks).
To learn more about MOSH, you may wish to read here and here.
PVE Console> # apt install mosh
workstation> sudo apt install mosh
workstation> mosh root@<proxmox-ve.mydomain>
MOSH is key-based so on first connect you will be 'warned' the key is not confirmed as authentic. Once accepted you will only be warned if the accepted (server) key is different than previously accepted as authentic.
workstation> The authenticity of host 'proxmox-ve.mydomain (<no hostip for proxy command>)' can't be established.
workstation> ECDSA key fingerprint is SHA256: {long fingperprint}
workstation> Are you sure you want to continue connecting (yes/no)? yes
workstation> Warning: Permanently added 'proxmox-ve.mydomain' (ECDSA) to the list of known hosts.
workstation> root@proxmox-ve.mydomain's password:
When finished with your MOSH session, simply type 'exit' as you probably expect. It will dump you right back into your regular local terminal program.
Last edited: