Home     About Us     RSSRSS

WARNING: UNPROTECTED PRIVATE KEY FILE!

April 2, 2016 by @HKw@! | No Comments | Filed in centos, Debian, Fedora, Linux, RedHat, Ubuntu

When i transfer my private key file to my new Mac OS X, i got an error message below:-

lims-air:~ techkaki$ ssh techkaki@ns1.test.my
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0755 for ‘/Users/techkaki/.ssh/id_rsa’ are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /Users/techkaki/.ssh/id_rsa
techkaki@ns1.test.my’s password:

If you are getting this error then you probably reset the permissions on your hidden .ssh directory in your user folder.

So, the solution for this is, make that file(id_rsa) readable or writable only for the owner with private key. Below is the command

sudo chmod 600 ~/.ssh/id_rsa

After change the permission, my problem is solved.

 

IPV4 and IPV6 Subnet Size Reference Table

November 20, 2015 by @HKw@! | 1 Comment | Filed in Networking

IPV4 SUBNETTING TABLES

Network Bits Subnet Mask Number of Hosts
/1 128.0.0.0 2147483646
/2 192.0.0.0 1073741822
/3 224.0.0.0 536870910
/4 240.0.0.0 268435454
/6 252.0.0.0 67108862
/7 254.0.0.0 33554430
/8 255.0.0.0 16777214
/9 255.128.0.0 8388606
/10 255.192.0.0 4194302
/11 255.224.0.0 2097150
/12 255.240.0.0 1048574
/13 255.248.0.0 524286
/14 255.252.0.0 262142
/15 255.254.0.0 131070
/16 255.255.0.0 65534
/17 255.255.128.0 32766
/18 255.255.192.0 16382
/19 255.255.224.0 8190
/20 255.255.240.0 4094
/21 255.255.248.0 2046
/22 255.255.252.0 1022
/23 255.255.254.0 510
/24 255.255.255.0 254
/25 255.255.255.128 126
/26 255.255.255.192 62
/27 255.255.255.224 30
/28 255.255.255.240 14
/29 255.255.255.248 6
/30 255.255.255.252 2

IPV6 SUBNETTING TABLES Read the rest of this entry »

Apple TV show connect to iTunes with USB Cable

November 12, 2015 by @HKw@! | No Comments | Filed in Apple TV

Today when i turn on my Apple TV, i saw the below nice picture showing on the screen and the status light keep on flashing like crazy.

AppleTV connect iTunes Read the rest of this entry »