summaryrefslogtreecommitdiff
path: root/src/blog/2021-10-06.md
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-10-23 23:36:49 +0300
committereug-vs <eugene@eug-vs.xyz>2022-10-23 23:44:44 +0300
commit0945a5bad65a00d0aa837528a9e0575e9905ccea (patch)
treeec6fd5f5688f9db8048e91cd093a7f690c51d462 /src/blog/2021-10-06.md
parentb328a15cbf5877125dcacacf589d26cc3e4a8e49 (diff)
downloadeug-vs-xyz-0945a5bad65a00d0aa837528a9e0575e9905ccea.tar.gz
feat!: restructure files in astro way
Diffstat (limited to 'src/blog/2021-10-06.md')
-rw-r--r--src/blog/2021-10-06.md17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/blog/2021-10-06.md b/src/blog/2021-10-06.md
deleted file mode 100644
index 4611853..0000000
--- a/src/blog/2021-10-06.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# You should start using `ssh-copy-id` now!
-Over the last couple of weeks I had to simultaneously manage up to 4 virtual machines in the Cloud. Holy shit, I've lost so much time just trying to log into them - picking up the correct server IP, then finding the password for it, and then finally `ssh`-ing into it. That's such a painful process, especially when you have to repeat it over and over again.
-
-Luckily, there's a solution! Simply run `ssh-copy-id username@password` (the same way you would do with `ssh`, just replacing it by `ssh-copy-id`), enter your password and it will remember it. Of course you gotta have your keys set up, but I think everyone has.
-
-Well, as a bonus, to not mess with the IPs, you can also use `~/.ssh/config` like that:
-```bash
-Host <alias>
- HostName <server ip>
- User <username>
-```
-You might guess what it's doing: running `ssh <alias>` will now expand to `ssh <username>@<server-ip>`!
-
-Of course you can add as much hosts as you want to your config. Combined with `ssh-copy-id`, you get a perfect solution for managing multiple web servers.
-
-## PS
-If you are familiar with `tmux`, I highly recommend installing it right away on your server, and doing everything in a session. Even simple `tmux new` / `tmux a` will make your life even more easy!