Digital Ocean Notes

do scp
Created on 2016-03-26 Last Modified 2018-06-26


connect to console

# prepare ssh keys first

# login droplet
ssh root@ip.of.the.droplet

# to copy a file from B to A while logged into B
scp /path/to/file username@a:/path/to/destination

# to copy a file from B to A while logged into A
scp username@b:/path/to/file /path/to/destination

perpare ssh key

achieve

  • Save a snapshot and delete droplet
  • restore droplet by the snapshot

Update Server’s Kernel


comments powered by Disqus