Commit d674ed11 authored by Carl Hetherington's avatar Carl Hetherington

Create RSA keypair if required; missing ifconfig.

parent acf7697d
#!/bin/bash
if [ ! -f "$HOME/.ssh/id_rsa.pub" ]; then
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
fi
sudo ifconfig enp0s26u1u4 10.42.0.1 up
ssh-copy-id robot@10.42.0.3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment