I remember this channel. I previous had a Java class that I used this channel for and it honestly saved my *. It was extremely in-depth and VERY helpful.
@gnuPirate5 жыл бұрын
Hey mate. Thank you for this awesome little series. I am getting a lot out of it. My only feedback with terminal commands, is : As you go along explaining a command, if you know what the letters happen to stand for or signify, I personally find it really helpful to know what words the letters or abbreviations stand for. It helps me remember. Like , ssh-keygen is easy for me to remember, because I know it stands for secure soft shell, which is the common type of secure connection -- and keygen is obvious and common, but what is -t , and rsa? Yes, I know I can look it up (and I will), but as long as you're explaining things if you continue in future, I would find that helpful along the way. Again, I really appreciate the vids. Cheers !
@motivees39344 жыл бұрын
don't you know he don't make videos any more "thenewboston"😢 its been 4 years
@swimmingshi3 жыл бұрын
-t means type I guess, rsa is an encryption algorithm. Always google things you do not understand before asking
@wizhaa3 жыл бұрын
@@swimmingshi he literally said “yes I know I can look it up and I will” but explaining that is still useful rather than heading to pause the video and Google
@draco5991rep4 жыл бұрын
I still have to type in my passphrase for the keyfile, because I set one. Just to let everyone know that if you set a passphrase you will have to enter it before you can connect to the server. You won't have to type your password for the user on the server, you will have to type the *passphrase* for the key you created. I recommend to set a passphrase for keys you use on a client that is a laptop, smarphone or anything that can easily be stolen or lost. If you have a stationary workstation at home however, it is up to you if you think the extra bit of security is worth it or not. I always do protect my key files with a passphrase because I am a paranoid fecker and live in a shady neighbourhood where people get robbed all the time. Everyone should think about the appropiate threat model for their purpose, if you never have analysed it before sit down for a couple hours and think about it, it is worth it.
@jeremy_s7 жыл бұрын
1.5M subs! Dude you need to start making some more videos, they are so good. And the potential you have with an audience this big!
@earnestredwood46946 ай бұрын
Thank you my friend this still works. This is why I love Linux.
@yaswanthreddyb32246 жыл бұрын
Thanks Bro. Now I understood clearly, you made my life simple. :)
@crischl68147 жыл бұрын
Men i really love your videos! Very short and concise. Greetings from Chile!
@lands14592 ай бұрын
i don't understand. so run ssh-keygen on the server, copy the public key into authorized keys and copy the private to my laptop? because i can't connect to my server like this, it says permission denied publickey.
@wallaguest14 жыл бұрын
not clear, what the ssh-copy-id is for? i dont get it, and where the private key is stored in your computer? i dont see it anywhere, i am confused,
@life_in_gen6 жыл бұрын
Question! So you upload the key to the server?? What if anybody just did the same thing you did, because when you send it, it didnt even ask for a password first. Thats kind weird
@annalisetrite72816 жыл бұрын
It did ask him for a password and he says something about it at 2:44 "after you type in your password"
@draco5991rep4 жыл бұрын
After you type the command ssh-copy-id the server will ask you to enter the correct password to access the server. After the public key is installed whenever you connect with the client that have the corresponding private key you will be loged in without being asked about the password. If you however set a passphrase for your key, the server will ask for the passphrase, because the key file will be encrypted. I do recommend to use a passphrase if you want to connect from a laptop to your server. Because if someone steals your Laptop and it isn't encrypted he can simply read or copy the private key file from it, but if you set a passphrase for the key, the private key file itself will be encrypted and only if you have the correct passphrase you will be able to read the real private key and access the server. The advantage is if you have a PC at home from which you want to connect to your server, then you not necessairly have to set a passphrase for your key because it is quite unlikely that someone happens to steal your PC. I always use a passphrase on my key files, because I am a paranoid fecker. It is unlikely that someone steals your PC because he first have to gain access into your home (a laptop can be quickly swiped from a table in a coffee shop or so) but it is not impossible. So if you have any compromising and important data on the server, you are perhaps the type of person who should still set a passphrase for your key to be on the safe side.
@sajadtorkamani93999 жыл бұрын
Awesome tutorial. You make learning so easy and fun!
@coolraspyhobbit47234 жыл бұрын
I realize this is an old video, but i cant find where the public key on my server went, and i want to delete it and put a new one on there. Is that possible? Im sorry if this is such a stupid question but im just barely learning about ssh keys literally today so its all new to me
@lavredisgoume2 жыл бұрын
When creating the keys, what is the meaning of "The key fingerprint is: 16:3f:..... bucky@Ubuntu"?
@shaarifhamdulay29305 жыл бұрын
What if I wanna add the private key to a USB stick, so i could give it to a friend to access my server? Also how to copy public key without ssh-copy-id if i have chosen non default location?
@lexolim55719 жыл бұрын
If I used this, I could theoretically use a script that downs servers not using DNS or HTTP loadbalancing in the SSH session, correct?
@pratibhakumari48704 жыл бұрын
Sir my command is not runing after ...ssh-copy-id root@.ip add....n when entered Mein terminal screen is blank What should I do.. help me....??
@aishaali45503 жыл бұрын
Super Simple demonstration that really works!
@jheffmat32634 жыл бұрын
thanks for this short explanation, very clear; :)
@cahelmsjr200083 жыл бұрын
Clear and right to the point. Well done.
@MultiChinmay4 жыл бұрын
Hi.. Great work on the series. Loved it. should i have separate ssh key for every other service like (aws, github, other services) or should i use the same exact key id_rsa for all services? what is recommended ?
@lavredisgoume2 жыл бұрын
I have the same question, but I think one does the job since it's like a public lock you share to everyone, and you are the owner of the key that unlocks it. So by generating new ssh keys it would be like having a new (lock, key) pair for every connection.
@21metalGears3 жыл бұрын
Bro, I love you so much! ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️ You saved my day!
@alexanderdelarosa80284 жыл бұрын
so has the public key been added to server or the computer?
@ivanbarbot45 жыл бұрын
but when you enter a password, which password is that? you shuold mention that in the video
@devBuddy4 жыл бұрын
Nice tutorial man! thanks a lot it helped me so much. I would like to add something: sometimes when you want to connect to your server to add the RSA key, server will prompt an error SSH :connect to host 123.456.7.8 port 22: Connection refused sometimes this is due you must connect with a different port to your server, this article was very helpful for me to solve that: superuser.com/questions/977104/ssh-connect-to-host-localhost-port-22-connection-refused basically I had to add a parameter called -p which tells to the shell which port must be used to connect to the server for example: ssh -p 123456 root@123.456.7.8 -p 123456 -> port for ssh connection 123.456.7.8 -> ip of the server root -> user which is trying to connect so to add the key using a different port ssh-copy-id -p 123456 -i root@123.456.7.8 hope this helps Best regards
@wolfganggermain71753 жыл бұрын
OOW, it's been awhile, thanks all the tuts men keep it up
@medagam55278 жыл бұрын
sir, i am using ubuntu 16.04 on linux ,would you please help me i really stuck at this problem. And after i used "reboot" in terminal ,it began to shutdown. But it does not works fine. it says "your system is running in low graphics mode", and also it says "you need to reconfigure yourself". Please help me after this i am facing problem "please give me steps to fix this error"... Thankinking you sir.
@parasch6996 жыл бұрын
what if some other people generate different rsa keys and copy to our server? Can rsa key be replaced with a new one without deleting it?
@kingjack84363 жыл бұрын
love it! simple easy to understand
@rj11wacat8 жыл бұрын
Can you do this on multiple computers or only one (i.e. after you make a key with one computer no other computer will be able to connect to the server)?
@kornflakes1077 жыл бұрын
George Foley In most cases, ssh-keygen should be run once per computer. Servers can store multiple public keys.
@amandaszampias50065 жыл бұрын
Awesome! I didn't know about ssh-copy-id
@R0N1N-TV3 жыл бұрын
"Boom roasted."
@pacsam63694 жыл бұрын
Hi man, when I try to connect to the server it gaves me the error "Host verification failed.". What can I do? P.s i don't have the known_host file...idk why
@MrHaashimAlvi3 жыл бұрын
I think you entered the wrong password to login to your server
@MrHaashimAlvi3 жыл бұрын
make sure the sure the, username, ip and password are correct.
@ScreenPrintR6 жыл бұрын
As always you're the best. Thanks Bucky!!!
@ardikasulistija65745 жыл бұрын
After running 'ssh-copy-idea user@x.x.x.x', when I try to ssh into 'user@x.x.x.x' I get error: sign_and_send_pubkey: signing failed: agent refused operation... Anyone know how to fix this?
@ashwajitthukral91014 жыл бұрын
its ssh-copy-id not idea
@vromp5able5 жыл бұрын
Skip to 1:24 for the actual tutorial.
@bryansillman32402 жыл бұрын
Hello New Boston... Reaching out... Hope all is well... Did you ever do a vid on RAID 1? I think you did once... Just wanted to check... Regards, Bryan
@davidmejia96017 жыл бұрын
hi, can anybody help me... I followed all the steps but the terminal requer me for a password i don't know why?
@tenancingogarcia3 жыл бұрын
Hey how can I solve this I have a ssh server I want to tunnel all my internet data from the server I have a ssh client I want the client to connect to the internet using the tunnel from the server I'm able to connect to the server using ssh server_username@server_ip_addres But client doesn't receive any internet from the server tunnel Can you help me figure out Is this possible
@LivinginSouthChina7 жыл бұрын
Frigging terrific! Hat's off and thank you!
@sumertheory3 жыл бұрын
awesome video. thank you.
@ranyoyb77389 жыл бұрын
hey thenewboston thank you for video ! i have traineeship in small company and they asked me to deny the root and allow five specific users! the situation is like this: there is 5 users: admin , B , C , D , E and all these five are enables to log in SSH , and each one have password, but the problem no one of them i can log in from the terminal ! only the root and the password for the root is soho'admin password' ! how can i change that to deny the root from log in and enable the rest 5 users ? * i tired all the ways that i find in google and forums ... with allowusers ... no-password .. change port to 7722 / 9922 / 2222/ 1234 ... Thanks again, rzoyb
@tenminutetokyo26433 жыл бұрын
What about adding ssh access for existing users.
@Xxracerx8 жыл бұрын
i got this error "Agent Admitted Failure to sign using the key". Any help?
I think its even riskier not having to authenticate and with just ssh and knowing the ip, you are in the server vs password. This scenario applies to, for example, leaving your computer unattended.
@GerardoBelot9 жыл бұрын
Nice to see Bucky on Linux force XD
@amitmandaviya3 жыл бұрын
Good tutorial.
@AdemolaAlabi7 жыл бұрын
This is Awesome and Simple.... Thank you
@MR-vj8dn3 жыл бұрын
But what if the keys mismatch?
@Rumbus5284 жыл бұрын
I don't know what the 57 degenerates that down-voted this are smoking, but this was perfectly explained. Thank you!
@ThePositiev3x9 жыл бұрын
At 1:56. What password it is asking?
@andrearitavasko86266 жыл бұрын
Kubilay Yazoğlu the password of the root user
@brookroger21805 жыл бұрын
thank you, you really help me at work :)
@srgk265 жыл бұрын
Very helpful! Thank you
@Justinsatiable6 жыл бұрын
ssh-copy-id command not found.....
@irajnorouzi39747 жыл бұрын
greate man very very good toturial tanks
@inkball75586 жыл бұрын
Hello thanks for making this, very helpful :-)
@AleksandarAleksiev_ Жыл бұрын
We now know your password. It has leaked over the Internet ;) Aside from the joke - nice explanation. Thank you!
@poornisridhar2703 жыл бұрын
Hi thanks for the video. Getting permission denied public key password. While doing scp from jenkins to remote server
@glorytogod43728 жыл бұрын
How do I find the correct ip address?
@cedchanseaulme16488 жыл бұрын
ifconfig
@zhag8 жыл бұрын
but if you use centos minimal you should install net-tools
@fernandoluis538 жыл бұрын
how do u change username root?
@PeterMIcedVoltage8 жыл бұрын
+yashfernandojain you don't - just make another account with super user privileges.
@samerjameel953 жыл бұрын
thank you
@ragineetitar3106 жыл бұрын
Awesome vdo..thnx:)
@otoelpilot04 жыл бұрын
Thanks Bro!
@medagam55278 жыл бұрын
i watched ur video but would please provide me grep usage also ..thanking you.
@Ghostinyoutube995 жыл бұрын
very helpful
@juhimughal94696 жыл бұрын
unable to copy ssh id
@bobfl428 жыл бұрын
Great that was so easy..
@NoName-pz7mk6 жыл бұрын
Didn't explain what -t and rsa mean
@igorordecha3 жыл бұрын
Nooooow i finally understand it!
@deedeemegadoodoo86423 жыл бұрын
Sir your tutorials are really helpful but i hope you know the proper usage of "Boom! Roasted"
@isakneuman99952 жыл бұрын
1:35 start
@isrj019 жыл бұрын
so cool
@leonardo52775 жыл бұрын
love u
@samanand38247 жыл бұрын
Boom Thanks
@pappasmurff3245 жыл бұрын
anyone getting an error message should try cd /home//.ssh when in your home ssh folder do everything he said and it should work ssh-keygen -t rsa
@samuelwinkler5453 жыл бұрын
should had shown the sshd_config settings..
@cenubit6 жыл бұрын
From Windows10 BASH this not work
@kennethbass47556 жыл бұрын
Try use the Secured Shell App for windows based o/s. It lets you use all Linux shell commands
@CassiusGiorgio5 жыл бұрын
Wowww, now use id_rsa make sense...thanks!!!
@epowouid67159 жыл бұрын
Thnx dude
@DarkWhisperer138 жыл бұрын
that cool bro
@vvkgdm6 жыл бұрын
kawai @ 2:52
@FreshMahogany2 жыл бұрын
Dash… it’s a dash.
@SaltVinegar20109 жыл бұрын
TheMilkRoad? Is that a play off on the SilkRoad? LOL
@adkl9 жыл бұрын
+Highway Phantom cant believe how stupid u are
@SaltVinegar20109 жыл бұрын
ADKL Me not stupid. Me understand everything. You idiot.
@adkl9 жыл бұрын
just kidding
@matttintoshplus53697 жыл бұрын
1:21 AM gg
@bloodmasto1239 жыл бұрын
hey really nice vids! really helpfull but can you also make a video how tochange your IP from DHCP into a STATIC IP (because if i follow other tutorials they say you have to go to /etc/network/interfaces for static ip but for some reason i only have loopback network interface instead of the loopback + primary network interface. and if i type the primary network interface and restart my network then my vm has no internet acces anymore and its a mess :/ :) but still keep making the ubuntu vids !! realy helpfull