Cherian Thomas

Friend | Co-founder of Cucumbertown| Cook | I make beautiful things that keep me up all day & night
19 February 2017

SSH commands to get a VM rolling

I am an engineer by profession but stopped coding a while back. Despite that once in a while I need these SSH commands. This is my reference


Login to the machine with root.

adduser cherian

sudo usermod -aG wheel cherian – Add to wheel group

From local machine

ssh-copy-id cherian@ip address

sudo vi /etc/ssh/sshd_config

follow to disable password auth

sudo systemctl restart sshd