 Okay, we are continuing with our PogoPlug series, working with PogoPlug Mobile Version 4, and we're working with the main OS it's on there. In our previous video, we went over some SSH stuff, and there's already an SSH server on there. It's running DropBear, but it's a very, very old version. And as we went over in a previous video, we had to tell my desktop computer, so we're looking at my desktop computer here. I had to tell it, I had to force it to use an older form of encryption to connect to this PogoPlug. So we wanted this, and this is all again, all in the notes in the link in the description. So if I hit enter on there, I can log in as root, because that's the only user on that device. As of now, obviously you can add users, but we're still working with it here. Not only is this not very secure to have a server running like that, I definitely wouldn't recommend it if you're opening up the server to the outside world, rather than a shell local network. It's also a burden to have that in there. So what we need to do is we're going to download and cross compile DropBear for the PogoPlug. Again, the architecture that we're running here is an ARM 5 architecture. So down here I have an empty folder, and I am going to download the source code. So again, all this is in the notes in the description, but if you go to the DropBear main site and you go to download the code, you can find atar.bz2 file that you can download. So we're going to go ahead and do that. Let me get my notes here. Oh, first off, I'm running a WNBase system. And to cross compile, I had to first install this package. And I don't know if there's any other packages that might be required. I didn't need to install anything else but I've compiled other stuff before. So sudo apt-get install, GCC ARM Linux, GNU E, I don't know how you say that. Anyway, I already have that. It's telling me it's already installed. So we'll clear that out. Next, I am going to download the latest. Again, I got this link from the website we were just looking at. Once that is downloaded, we can then use tar-xjf and the name of our file to extract that. And now we have a folder which we will move into. And so this is the newest version as of recording this video. It is currently March of 2017. So this is a relatively new, just a few months old version. Next, we're going to run this configuration. And I'm not gonna go over this completely but again, it's in the links in the notes. So dot slash configure, we're gonna tell it that we're compiling for ARM Linux. And there's a few other things in here. Just copy this from my notes from the link in the description. And it's not a very big program so it doesn't take very long to compile. So that's configuring it. Next, we'll type make. And I don't think it will take more than 30 seconds or so, but then we'll have a binary file called drop bear in this folder, which we can then move over to our Pogo plug. Normally I pause, there we go. So normally I pause the video but I know it doesn't take very long to compile this. So again, if I list out a, I have drop bear and you can see it's a binary. If we do the file command, you can see that it says right here that it's compiled for ARM. So let's get that over to our Pogo plug. We're going to copy it over using the current install, the current server on there for SSH, which we're going to be using SCP, just like we did in the previous video. So again, we're doing SCP to secure copy it, secure using the older encryption format. And we're gonna give it the file name right here, drop bear. Let me shrink this down a little bit so it's easier to read it's all on one line. I know it's smaller now, but at least all on one line. So we're copying it using SSH. We're using the old encryption key because that's the server that's still running on there that we're getting ready to replace. This is the file that I want to copy over. And this is where we're copying to. I'm copying it as root to this directory and just colons like that, it's just gonna put it inside the home directory, although you can specify if I wanted to put it like in the temp folder or something. We're not gonna override the original just yet because we wanna make sure this one works before we go around replacing things. So I'll go ahead and hit enter and I'll type in my super secure password and that is now copied over. And up here, so again, the top part of the screen here, I am logged in currently. And if I list out, you can see I have two files, the test file that we copied over in the previous video and our DropBear file. And if we do this, let's do PS, you can see that we have DropBear Ori running, the one that was originally installed on here. It's listed here twice because I believe it creates a new instance every time someone logs in. So you have the main server, then you have me connected here. So what we're gonna do is we're gonna go kill all DropBear and that's gonna disconnect us. Luckily, we still have Telnet running. So we've killed that off. Now I'm going to Telnet into the same machine, as root to type in my super secure password. And again, if I do PS, I should not see any DropBear instances running, but I can now dot slash DropBear. So this is the binary that is currently in my home directory here. That's what the dot slash means. It means the current directory. I'll hit enter. And if I PS now, you can see DropBear is running right here. So what I'm gonna do is I'm going to exit. And what I'm gonna do now is I am going to, go ahead SSH again, but I'm gonna leave out this whole key thing and it should work now. So I should be able to do SSH as root to that server. So it's IP address. And of course the IP address is gonna be whatever the IP address of your server is your Pogo plug. And it didn't tell me that the keys don't match and I'm gonna type in tux. That's the super secure password by the way tux. And I'm logged in. Okay, so we know it works. So now we want to set it up so that it runs when it starts up. So we're gonna replace the original DropBear. So I'm gonna go into usr, Espin and in here, there is a DropBear file. And just to keep that just in case, I'm just gonna move that instead of deleting it. I'm gonna move it to DropBear.old. So it's there in case I need it. But then I'm going to move from my home directory, the copy of DropBear to here. So now once again, I am going to kill all. I'll show you here real quick. PS, so you can see DropBear is still running even though you moved binary because it's up in RAM now. We're going to disconnect ourselves again, kill all DropBear. I'll log back in with Telnet one more time. And so at this point, I want to restart up. Now we already have again, excuse me. If we look inside our startup script which we went over in previous videos, we have it set to startup automatically on reboot. So at this point, I could reboot the machine or I can just start up DropBear that way. I can exit out and I should be able to SSH in and I'm good to go. So I should be able to SSH in and S copy stuff, SCP stuff over using the newest version of DropBear. So we have the newer encryption. Don't have to force my desktop to use a lower type of encryption. We're all set and that's all we have to do. So what we've learned today is we downloaded the source code, we extracted it, compiled it, cross-compiled it for ARM and then copied it over and replaced the original. So we're all good to go. A lot more secure than what we were doing before. So as always, I thank you for watching. Pleases in my website, filmsbychrist.com. That's Chris the K, there's a link in the description. Again, this is part of a series. There's a link in the description and hopefully at the end of this video to the full playlist. If you haven't been watching it, you might be a little confused. I should have said that at the beginning of the video. I do thank you again for watching. If you do enjoy my videos, be sure to check out both my channels. Links are both in the description in the video. And if you like them, think about supporting them over at patreon.com. patreon.com.com. slash melx1000 or if you want to, you can go to my website, filmsbychrist.com again and click on support and there's also a PayPal link there. I thank you for watching. And as always, I hope that you have a great day.