Guest User

Untitled

a guest
Jun 22nd, 2018
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. lsblk
  2. mkdir /mnt/recovery
  3. lsblk
  4. mount /dev/xvdf1 /mnt/recovery (here /dev/xvdf1 is secondary disk)
  5.  
  6. cat /home/ubuntu/.ssh/authorized_keys > /mnt/recovery/home/ubuntu/.ssh/authorized_keys
  7.  
  8. unmount /mnt/recovery/
  9.  
  10. ssh ubuntu@192.168.0.10 –i new-keypair.ppk
Add Comment
Please, Sign In to add comment