-
Notifications
You must be signed in to change notification settings - Fork 1
Ubuntu commands
yan li edited this page Jan 22, 2024
·
6 revisions
Kill all java processes:
killall java -9
Copy ssh key from u1 to u2,
the same public key will be used.
Then in new U2 the Permission of public key will be changed.
and the keys will be added in u2
Ubuntu SSH Key Permission:
chmod 600 ~/.ssh/gitlab_rsa
chmod 644 ~/.ssh/gitlab.pub
ssh-add ~/.ssh/gitlab_rsa
ls -hl
total 216K
drwx-----x 3 root root 4.0K Jan 10 12:55
df -h
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev