07.06.2014 Views

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$ scp file machine:/tmp/<br />

sftp is an interactive command, similar to ftp. In a single session, sftp can transfer several<br />

files, and it is possible to manipulate remote files with it (delete, rename, change permissions,<br />

etc.).<br />

Debian uses OpenSSH, a free version of SSH maintained by the OpenBSD project (a free operating<br />

system based on the BSD kernel, focused on security) and fork of the original SSH software<br />

developed by the SSH Communications Security Corp company, of Finland. This company initially<br />

developed SSH as free software, but eventually decided to continue its development under<br />

a proprietary license. The OpenBSD project then created OpenSSH to maintain a free version of<br />

SSH.<br />

BACK TO BASICS<br />

Fork<br />

A “fork”, in the soware field, means a new project that starts as a clone of an<br />

existing project, and that will compete with it. From there on, both soware<br />

will usually quickly diverge in terms of new developments. A fork is oen the<br />

result of disagreements within the development team.<br />

The option to fork a project is a direct result of the very nature of free soware;<br />

a fork is a healthy event when it enables the continuation of a project<br />

as free soware (for example in case of license changes). A fork arising from<br />

technical or personal disagreements is oen a waste of human resources; another<br />

resolution would be preferable. Mergers of two projects that previously<br />

went through a prior fork are not unheard of.<br />

Since Etch, OpenSSH is split into two packages. The client part is in the openssh-client package,<br />

and the server is in the openssh-server package. The ssh meta-package depends on both parts<br />

and facilitates installation of both (apt-get install ssh).<br />

GOING FURTHER<br />

Hardware acceleration for<br />

SSH<br />

Some hardware provides native support of mathematical functions used by<br />

encryption, which can speed up the required calculations, thus increasing performance<br />

of some tools (and lightening the load on the main processor). These<br />

tools notably include the OpenSSL library, which is in turn used by OpenSSH.<br />

Although a project for standardization of drivers is underway (notably at the<br />

kernel level), the variety of hardware is still managed inequitably and heterogeneously.<br />

For example, the Padlock system included in Via C3 processors is<br />

only partially supported. While the Linux kernel does offer various encryption<br />

algorithms, the OpenSSL 0.9.8 library in Squeeze only handles delegation of<br />

AES encryption to the hardware dedicated to that purpose, but not the SHA<br />

algorithms; you have to recompile it with a patch.<br />

➨ http://www.logix.cz/michal/devel/padlock/<br />

9.2.2.1. Key-Based Authentication<br />

Each time someone logs in over SSH, the remote server asks for a password to authenticate<br />

the user. This can be problematic if you want to automate a connection, or if you use a tool<br />

190 The Debian Administrator's Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!