Miscellanies about initializing an Ubuntu Server
Having trouble with Windows SSH: Unprotected private key file
1 | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
You can use icacls in windows instead of chmod to adjust file permission.
1 | icacls .\private.key /inheritance:r |
Having trouble with SSH login: connection reset after idle for some time
[Ineffective]
1 | ssh -o TCPKeepAlive=true root@host.com |
For long term use you should modify /etc/ssh/sshd_config
as follows:
1 | ClientAliveInterval 30 |
Error: Got permission denied while trying to connect to the Docker daemon socket
Follow the just a few steps and you do not have to access docker images with superuser privileges.
1 | sudo groupadd docker |
Add a new sudoer
1 | sudo usermod -aG sudo <username> |
Miscellanies about initializing an Ubuntu Server