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
At this point, everyone has already heard that Microsoft is buying GitHub. Acquisitions of this scale take time, but most expect everything to be official by 2019. The general opinion online seems to be one of unease, and rightfully so. Even if we ignore Microsoft’s history of shady practices, there’s always an element of unease when … Read moreA PRIVATE GIT SERVER CRASH COURSE
I run all my EC2 workloads on Amazon Linux. It comes with a superb AWS integration, a secure default configuration, regular security updates, and I can open AWS Support tickets if I run into any problems. In late December 2017, AWS announced the successor of Amazon Linux: Amazon Linux 2. AWS also announced that Amazon Linux 2018.03 … Read moreMigrating to Amazon Linux 2
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
In Linux, I can create a group: sudo groupadd mygroup and add several users to it: sudo usermod -a -G mygroup userA sudo usermod -a -G mygroup userB sudo usermod -a -G mygroup userC Or, if gpasswd is available (should be on most distributions except e.g. Solaris) you can provide a comma separated list of users followed by … Read moreHow do I add multiple user to UNIX group?
The following procedures help you install an Apache web server with PHP and MariaDB (a community-developed fork of MySQL) support on your Amazon Linux 2 instance (sometimes called a LAMP web server or LAMP stack). You can use this server to host a static website or deploy a dynamic PHP application that reads and writes information to … Read moreTutorial: Install a LAMP Web Server on Amazon Linux 2
STEPS TO SET JAVA ENVIROMENT VARIABLE ON EC2 IN 4 SIMPLE STEPS. First, check the version of JDK Step 1: Ensure you have right version of JAVA installed or upgrade if necessary (Optional) The latest version of JAVA is 1.8, by default Amazon Linux has JAVA version 1.7 so you would directly want to upgrade it use command below … Read moreSETTING UP JAVA ENVIRONMENT VARIABLE ON EC2
netstat -tulnap shows me what ports are in use. How do I free up a port in Linux? As the others have said, you’ll have to kill all processes that are listening on that port. The easiest way to do that would be to use the fuser(1) command. For example, to see all of the processes … Read moreHow do I free up a TCP/IP port?
I have an AMI and security group that I’ve been starting instances from, using our VPC and a subnet we’ve had defined, for a long time. Once such instances start, I’m able to SSH to them.So far so good.Lately we started getting error messages about Amazon not having enough capacity in our zone, so I … Read moreI can’t SSH to instance started in new subnet/zone
Maybe this has happened to you. You went to copy a quote from a press release and, suddenly, this is what you saw: Where’d my color go? I couldn’t figure out what the hell had happened, but my screen was suddenly gray. It was at the correct resolution, and everything looked the same except it … Read moreMy screen went gray: how to turn off Windows 10 color filter mode