Connect to Amazon EC2 Instance from Nautilus without Using Password File

Lately, I have been working frequently with a couple EC2 instances. Remote editing on these instances has become a day-to-day task for me. These instances are based on Amazon Linux. I am so used to the “Ubuntu” way of remote editing, which I have described here. With EC2 instances, however, this method seems to be impossible — as I need … Read moreConnect to Amazon EC2 Instance from Nautilus without Using Password File

How To Configure Custom Connection Options for your SSH Client

Introduction SSH, or secure shell, is the most common way of connecting to Linux hosts for remote administration. Although the basics of connecting to a single host are often rather straight forward, this can become unwieldy and a much more complicated task when you begin working with a large number of remote systems. Fortunately, OpenSSH … Read moreHow To Configure Custom Connection Options for your SSH Client

Connecting to Amazon EC2 Instance on Windows 10 bash – Permission denied (publickey)

I am trying to connect to my Amazon EC2 Instance using bash on Windows 10. I have already downloaded MyKey.pem It show me this message @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0555 for ‘MyKey.pem’ are too open. It is required that your private key files are NOT accessible by others. This … Read moreConnecting to Amazon EC2 Instance on Windows 10 bash – Permission denied (publickey)

Ubuntu: Failed to start Nvidia Persistence Daemon

The nvidia-persistenced group/user is created by the install script in the nvidia-utils package (or equivalent if you use one from the AUR). Reinstalling nvidia-utils will recreate the needed nvidia-persistenced group/user. Without reinstalling you can directly run both commands referenced in the link: sudo getent group nvidia-persistenced &>/dev/null || groupadd -g 143 nvidia-persistenced sudo getent passwd nvidia-persistenced &>/dev/null … Read moreUbuntu: Failed to start Nvidia Persistence Daemon

ssh: how to fix warning about ECDSA host key

I’m trying to setup password-less SSH on an Ubuntu server with ssh-copy-id myuser@myserver, but I’m getting the error: Warning: the ECDSA host key for ‘myserver’ differs from the key for the IP address ‘192.168.1.123’ What’s causing this, and how do I fix it? Remove the cached key for 192.168.1.123 on the local machine: ssh-keygen -R 192.168.1.123

How to Manage File and Folder Permissions in Linux

For many users of Linux, getting used to file permissions and ownership can be a bit of a challenge. It is commonly assumed, to get into this level of usage, the command line is a must. Although there is always far more power and flexibility to be had, running seemingly complicated command isn’t alwaysa necessity. With … Read moreHow to Manage File and Folder Permissions in Linux