Login via ssh username@server-or-ip
.
Copy files via SSH with the command scp source destination
. You can
use user@server:path
for remote sources or destinations.
Set the desired host name via hostnamectl set-hostname abc
/etc/hosts
usually has the entry127.0.1.1 hostname
, change this accordingly