If you use VPSSIM or any other administration script in your VPS or GC VM Instance, you’re probably finding yourself unable to copy or modify anything when connecting to your server using WinSCP.
The reason is that, by default, your server is configured to only allow key pairing authentication, so in order to login as a regular user, you have to do 2 things. First, enable password authentication and secondly, enable Login as Root
To connect as Root, you first need to set a password for your Root user (
sudo passwd), then allow logging in remotely as root. To do so, fire up your
Add a line in the Authentication section of the file that says
PermitRootLogin yes. This line may already exist and be commented out with a “#”. In this case, remove the “#”.
# Authentication: #LoginGraceTime 2m PermitRootLogin yes #StrictModes yes #MaxAuthTries 6 #MaxSessions 10
Scroll down a few lines and change this line:
# To disable tunneled clear text passwords, change to no here! #PasswordAuthentication yes #PermitEmptyPasswords no PasswordAuthentication yes
Save the updated
/etc/ssh/sshd_config file and restart the SSH server (
service sshd restart)
Should be good to go now
My often spend my scarce free time teaching myself new things (when I don’t feel like DIYing useless shits). I’ve spent the last few weekends teaching myself around Google Cloud platform (and later on, Amazon Web Services). What I learned most from those experiences is that: my knowledge regarding networking and virtualization was close to non-existent and if anything, I need to go back to practice on a local environment where I have access to all the hardwares before I even think about dirtying my hands with cloud implementations.
And that’s how I came to join r/HomeLab and subsequently r/HomeServer. Now I’ve been told before that these subs will more likely discourage you from building your own homelab rather than encouraging it, as they will make whatever you build feel puny in comparison, but I didn’t expect some people to build a freaking datacenter in their garages. While many of those guys got the hardwares for free from work, I know some of those people dropped hundred of thousands dollar into hardware purchases. Homelabbing is, in a way, similar to photography or music or even toy collection, once it become a hardcore hobby it gets rather expensive.
As a photographer I don’t feel like I can afford to sink my wallet into yet another expensive hobby, and as such I decided to do it my way, the thrifty, cheapskate way.
Meet my Nam Vu home server, the cheapest, most ghetto machine you can imagine:
• Intel Core2Quad Q6600 @3.0Ghz (tapemodded) ~$5
• Lenovo MTQ45NK Motherboard ~$15
• 4x2GB DDR3 1333Mhz Memory ~$12
• 320GB Toshiba HDD ~$13
This machine will be dual booting Proxmox 6 and Windows 10 LTSC.
Why bother having Windows when you can have it running under Proxmox you ask? Well I need Windows for a lot of different applications (like sync clients for many cloud storage services), plus the Remote Desktop feature blows TeamViewer and AnyDesk out of the water. And for those applications I want the best performance I can get, which is hardly achievable if you run it under a hypervisor with this ghetto hardware.
Now Proxmox doesn’t recommend dual booting with anything, in fact its default installer ISO doesn’t even include an option for you to partition your drive, so if you want a dual boot configuration your only hope is to setup Debian to run along side Windows first, and then installing Proxmox VE on top of Debian. I will be covering the steps in my next posts, they are fairly simple to setup at first but there’s a couple of issues that you might run into along the way.
Hôm nay tình cờ lôi quyển hộ chiếu ra, phát hiện đã đến ngày hết hạn, tự nhiên nhớ lại cái ngày này đúng 10 năm về trước, cảm giác hân hoan khi nhận được nó vẫn còn như in.
Có nhiều thứ từ cách đây một thập kỷ mà mình ko còn có thể nhớ nổi nữa, nhưng cuốn hộ chiếu này thì mình vẫn nhớ như in, vì bối cảnh đặc biệt mà mình nhận được nó.
10 năm trước là kỷ niệm 60 năm thành lập hãng hàng không JetBlue, bọn nó dân chơi offer 1 cái deal cho phép mình mua 1 cái vé $600 có thể bay đến bất cứ sân bay nào mà JetBlue có hoạt động trong lãnh thổ US. Và đó là khởi đầu của tất cả, chuyến ‘road trip’ đầu tiên trong cuộc đời, chuyến đi mở mang đầu óc đầu tiên. (trước thời điểm đó mình thuộc loại hardcore introvert, cả tháng chỉ có đến trường rồi về nhà chơi game, ko ra khỏi nhà, nếu không có bà chị lôi đi chuyến đi này chắc giờ mình vẫn tiếp tục lesor lắm).
Love it or hate it, Electron is now an important part of your everyday life. For those who haven’t heard of it by now, Electron is a software framework that enable developers to create desktop applications using web technologies (HTML, CSS, JS). It garnered a lot of attention in recently years.
Sure, many elitist developers have publicly spoken against it. They argue that their performance is sub par comparing to native applications, even go as far as calling Electron apps “web pages”. In reality, they were correct, and also completely missed the point. What Electron brings to the table isn’t performance, but availability. Electron massively lowered the barrier-to-entry in desktop software development, and cut the cost of porting applications across platforms to almost nothing at all. Truth is, I think what the elitist developers are so pissed off about is that fact Electron enabled ‘lesser devs’ to build beautiful, functional apps that work cross-platform, something that would take decades for them to achieve.
While I can see why the old devs are unhappy with these changes, as an end user I couldn’t be happier with Electron. It’s a godsend.
Anyway here’s my list of Electron-based apps that I couldn’t live without
So I have a bunch of old hard drives laying around. About 5-6 different hard drives of various capacities ranging from 1TB to 2TB, not counting the 2.5″ drives. Looking at that pile, naturally the first thing that comes to mind is building a NAS. I was going to get a cheap Buffalo NAS for around $50 but then I realized I’d also need it to double as a workstation since I do need (I think ‘need’ is the right word) a computer in my workshop
Here’s the parts I used:
Mobo: Lenovo MTQ45MK -est. $15 | salvaged from an old ThinkCentre M58, what I like is that unlike most OEM PCs, this mobo actually has 4 RAM slots, making it a lot cheaper to add more memories since 2GB sticks are dirt cheap.
CPU: Intel Quad Q6600 -est. $8 | probably the best bang for the buck CPU you can get for socket 775, a quad-core processor that goes for under $10, with an amazing overclocking head room (not that we are going to be doing any OCing, but it’s nice the have the option)
Memories: (x4) Kingmax 2GB DDR3 1333Mhz -est. $4/ea | DDR3 memories are cheaper than dirt these days, plus you most likely have stick or two already lying around somewhere. I already 2 sticks so I only needed to order 2 more. If you want to meet FreeNAS minimum requirements, this is probably the cheapest way get at it, at $16 for 8GB.
I’m an loyal person, once I use a service, I tend to stick with it, even if the service quality goes down, I’d tolerate it.
But there comes a time when man must put his foot down and say “That’s enough!”
So the last month I’ve decided to switch services for many things that I’ve used for a long time:
I’ve been a faithful Mobifone user for as long as I have a cell phone, dating back all the way to 2005 I think when I got my first phone (a Motorola L7, I could still remember it vividly). But this month I’ve decided to switch to Viettel, they’ve come a long way, and is just better overall.
Internet Service Provider:
There aren’t really any different between the major ISPs here in Vietnam, every year they get pretty much the same amount of dreadful downtime. But recently, FPT was discovered to have shady pricing schemes with their customers, so now once again I’m sticking with Viettel as my main ISP.
I’m sure most of you can relate to this one, you use Vietcombank, realize their service is completely and utter shit, but you still have to use them anyway, because your company pays your salary through them. It’s a common issue, nobody likes them, but everybody uses them, so they don’t give a shit. They burden their customers with all kinds of bullshit fees, treating them as if they’re a burden. Well, this last month my company managed an incredible feat: breaking free from Vietcombank. (or as I’d like to call it, relieving 2000+ accounts from their burden).
We switched to HSBC because it’s convenient for my UK-based firm, but really, their internet banking is a completely different beast. I’ve never since that kind of UX since, well, kindergarten. But that’s a story for another day.
Just by uttering the word Remote Desktop you probably would’ve guessed what I’ve been using for the last 10 years, yes it was TeamViewer, I’ve been using them ever since their first days, when nobody even know who they are. While I’ve never been a paid customer, I believe I’d paid my due by being a super active evangelist. I’ve installed TeamViewer for everyone I know who might need help, I’ve showed a handful of people how to use it. I played my part in building up the popularity that they have today, and what do I get in return?
A big FUCK YOU is what.
My account was flagged as a ‘potentially commercial account’, and connection time was limited to 30 seconds. Yes you read that right, 30 fucking seconds! Holy mother fucking shit
Luckily, like with all things in life, eventually something better will come along and kick the shit out of it. In this case, that thing is called “AnyDesk”. Not only does it work so much more reliably, it also doesn’t leave a fucking nagging message after every session. Seriously, that thing annoyed the shit out of me.
For those who hasn’t heard, Figma recently rolled out a new version which support plugins.
This is huge and I’ll tell you why.
As we all know, even now (2019) Sketch still has the largest market share among all the screen design tools, despite being behind in every aspects (platform dependency, speed, features etc.) except one: its plugin ecosystem, which is essentially the only thing that other tools hasn’t been able to catch up to Sketch.
Until now anyway.
Figma recently rolled out plugins on Wednesday, and it’s already taking over the community by storm. The plugin repository only contains handful of entries right now but it already massively expanded Figma’s functionality, and even fixing Figma’s own shortcomings in a couple of instances. Better yet, this repo is expected to massively grow in the future, especially as Figma overtake Sketch as the reigning champion.
Here’s a few favorites of mine:
-Autoflow: adding flows is one of those