Skip to main content

ssh! Here's the scp

The other day, I was thinking of consolidating all my music collection from various machines and burn them into a DVD as a backup. There were various ways that I could have done the transfer:

  1. Extract the music back from the disk originals
  2. Copy them using a rewritable media like a pen drive or a writable media like a CD
  3. Connect over the network and copy the files
  • I can use Samba as some of my machines are Windows based
  • Setup a FTP server to copy files
  • I can setup a ssh server and securely copy the files to my Linux box
That was how I discovered ssh, the secure shell. I had originally been looking at setting up Samba on my Linux box, but was frightened with the possibility of it suffering a virus attach as most of the viruses / botnets would be scanning for a windows PC and this would become a backdoor for entry.

The other option was ssh which was simple to setup and quite secure. It basically provides a secure way to connect to a computer that enables the ssh service. You are presented with your standard console where you would be able to perform your usual activities.

Another prominent activity is copying files about, between the host and the client and this is where scp (Secure Copy) comes in. scp allows you to copy files between your client and the ssh server securely.

Now, scp is a command line tool and most get intimidated with copying files from the command-line be it the versatile '$' prompt or the more familiar 'C:\>'. On the windows side, you have winscp which is a GUI application with a Norton commander-like interface which would make GUI aficionados feel at home in copying files safely and securely.

Winscp comes as a portable app, which means, you can actually run this app in your windows machine without fear of cluttering your registry and contributing to registry bloat. Portable apps are targeted to those who would like to keep a handful of portable apps in their pen drive which can be executed without any requirement for installation or setup. Check out portable apps for more such applications.

Comments

Popular posts from this blog

Helmet and seat-belt mandated at TN Today morning, I was pleasantly surprised to see most bikers (along with pillion riders) traveling with their helmets on as TN geared itself from the 1st of June to make it mandatory to wear helmets for bikers and seat belts (for the front seat passengers) for car commuters. The FM radio RJs had been conducting on-the-road commentaries, catching helmet-less riders seeking justification on why they had not yet acquired one (the helmet) yet. The shamed few who got caught eventually were presented with a helmet. One the way (near Tirumangalam), I couldn't help notice people flocking near put-up helmet shops on the sidewalks, trying to acquire the license to ride a bike! Let's hope the momentum carries on...
Battle of Wesnoth Been on the lookout for a free turn based strategy game and chanced upon the Battle of Wesnoth . Despite it being an open source game (meaning, you get the source), it was incredibly polished akin to any of the other turn based strategy game (Alpha Centauri), be it the background score or the graphics or the tutorials. The game itself is set in a period similar to the D&D or nethack era. For the film buffs, if you have read or seen the Lord of the Rings, you would probably be able to relate to the clans that populate the game world. The game play, as with any turn based strategy game requires background information on each of the units that you own, their strengths and weaknesses and a lot of planning (a kin to chess, but with a lot more parameters) where factors like day - night cycles are taken into account (e.g, humans fight well during the day, but the orcs are better during the night). It is encouraged to keep your older units as they gain experience and beco

R programming

Of late, I have been following up with data analytics and learnt R and Pandas (using Python). Somehow, most of the work that I now do is crunching data and representing them in a more fancier way. In a lighter vein, when I am at home, I try to see how my non-work data can be represented as charts and graphs. Here is the first attempt to categorize the list of programmers editors that I had used throughout my life time... This was generated using R and ggplot (ggplot is a great library that allows you to generate different types of charts). Why not excel? Sure, I can do the same in excel as well. But once the data becomes huge to manage, it becomes difficult to monitor each of the cells to see if the formula is right. Sometimes, they get complicated enough that I have to wait for a few seconds every time I make a change in a cell or consider turning off auto-calculation in excel. It is much more simpler to have the processing logic as a source file that you can modify separated from t