public marks

PUBLIC MARKS with tags file & shell

2008

Linux.com :: Parallel SSH execution and a single shell to control them all

by camel (via)
Many people use SSH to log in to remote machines, copy files around, and perform general system administration. If you want to increase your productivity with SSH, you can try a tool that lets you run commands on more than one remote machine at the same time. Parallel ssh, Cluster SSH, and ClusterIt let you specify commands in a single terminal window and send them to a collection of remote machines where they can be executed. Why you would need a utility like this when, using openSSH, you can create a file containing your commands and use a bash for loop to run it on a list of remote hosts, one at a time? One advantage of a parallel SSH utility is that commands can be run on several hosts at the same time. For a short-running task this might not matter much, but if a task needs an hour to complete and you need to run it on 20 hosts, parallel execution beats serial by a mile. Also, if you want to interactively edit the same file on multiple machines, it might be quicker to use a parallel SSH utility and edit the file on all nodes with vi rather than concoct a script to do the same edit. Many of these parallel SSH tools include support for copying to many hosts at once (a parallel version of scp) or using rsync on a collection of hosts at once. Because the parallel SSH implementations know about all the hosts in a group, some of them also offer the ability to execute a command "on one host" and will work out which host to pick using load balancing. Finally, some parallel SSH projects let you use barriers so that you can execute a collection of commands and explicitly have each node in the group wait until all the nodes have completed a stage before moving on to the next stage of processing.

GNU Squad » Faire du SFTP dans un chroot avec scponlyc

by camel & 1 other
Commençons tout d’abord par expliquer les quelques termes alambiqués du titre de ce billet pour les néophytes : * SFTP signifie « Secure File Transfer Program », c’est un programme permettant de transférer des fichiers en utilisant une liaison chiffrée par SSH (Secure SHell) ; attention à ne pas confondre SFTP avec FTPS qui signifie pour sa part « File Transfer Protocol over SSL » ! * chroot est un programme permettant de changer le répertoire racine d’un processus afin que ce dernier n’ai accès qu’à une partie limitée de l’arborescence. * scponlyc est un shell limité destiné uniquement aux transferts de fichiers dans un chroot. Le but du jeu est donc de permettre à un utilisateur de transférer des fichiers sur un serveur de manière sécurisée sans qu’il n’obtienne pour autant un shell et sans qu’il lui soit permit de voir l’arborescence du serveur.

2006

Shell Tips ! » Help Sheet for vi editor

by orieg
usefull pdf/jpg file for remember usefull vi/vim commands. Great for working quickly !

PUBLIC TAGS related to tag file

cluster +   command +   commands +   control +   delete +   edit +   file edit +   help +   help sheet +   insert +   linux +   list +   log +   memo +   programming +   recover +   remote +   rsync +   script +   secure +   serveur +   shell +   shortcut +   ssh +   ssl +   tips +   tools +   undo +   unix +   vi +   vim +   yank +   zsh +  

Active users

camel
last mark : 02/11/2008 23:16

plasticdreams
last mark : 21/11/2006 07:32

orieg
last mark : 29/10/2006 18:20