Use sed to remove an old known_host

When doing system and network administration on Linux (aka DevOps) its common to make an IP change to the server you are working on and get a known_host man in the middle kind of warning.

ssh [email protected]
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
Please contact your system administrator.
Add correct host key in /home/devekko/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/devekko/.ssh/known_hosts:34
remove with:
Host key verification failed.


An easy way to remove a bad known_hosts line on say line x

sed -i 'xd' ~/.ssh/known_hosts

Hello new world

It’s almost 2017 and I feel like this is a new world.

We are launching a new business and tech will be one of our business lines (along with farm and sustainability).

I love free libre open source software (FLOSS) and have done some activism in this area, I also use it daily and I wanted to record the very, very many explorations I make in this space.

I have been inspired in this by sites like DailyDrip, TuxDiary and PacketPushers.

They do a great job publishing quality information and I learn a lot from them. I want to do the same. They are independent, self-publishers and this is why I love the internet.

I feel compelled, probably unwisely, to comment on the recent US general election. I am not a citizen and can’t vote, but I predicted a Trump victory, and was surprisedĀ by how close the presidential election was and also the wide sweep of wins in nearly every political office i.e. governorships, both chambers etc.

I imagine we will see 8 years of Trump and possibly a long term change in the political system and possibly a GOP ascendancy.

This will have an effect on our lives and our businesses and institutions. I’ll be doing research and unpacking this as the year unfolds.

On a technical level, I have become extremely interested in the Rails inspired Elixir / Phoenix web application framework.

I am working Ā a Phoenix website and an Elixir / Phoenix utility library now. For development purposes, Elixir and Phoenix are my main focus. But I have ideas integrating WordPress / Drupal into some of these projects.

Another area I want to develop is a consultancy business around project management and development of new products. Also big data analysis and systems integration.

I am open to contracts now, contact me at [email protected]