public marks

PUBLIC MARKS with tags secure & ssh

May 2008

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.

March 2008

SSH dynamic port forwarding with SOCKS

by camel
SSH has numerous uses beyond just logging into a remote system. In particular, SSH allows you to forward ports from one machine to another, tunnelling traffic through the secure SSH connection. This provides a convenient means of accessing a service hosted behind a firewall, or one blocked by an outgoing firewall. However, forwarding an individual port still requires you to change where your program connects, telling it to use a non-standard port on localhost rather than the standard port on the remote machine, and it requires a separate port forward for each machine you want to access. Dynamic port forwarding via SOCKS provides a more convenient alternative. The examples in this article assume that you reside behind a restrictive firewall which does not allow outgoing SMTP connections except to a designated mail server. You want to connect to a different mail server, mail.example.net, on port 25. You have an SSH account on a machine shell.example.org, which does not reside within the restrictive firewall and can thus access port 25 on mail.example.net.

February 2008

February 2007

Sécuriser son Ubuntu-server - Prendre un Café

by camel & 6 others
Sécuriser son Ubuntu-server - Prendre un Café

PUBLIC TAGS related to tag secure

ban +   debian +   file +   firewall +   ip +   linux +   mail +   remote +   securite +   server +   serveur +   shell +   ssh +   ssl +   standard +   ubuntu +  

Active users

camel
last mark : 29/05/2008 09:35

loneseb
last mark : 22/02/2008 16:58