Posts about int

2014-12-04 paramétrer l'e-mail à l'INT

  • paramétrer un nouveau compte avec son adresse
  • indiquer les parametres:
    1. en entrant, serveur IMAP avec SSL (port 993) et l'authentification est par mot de passe
    2. en sortant, serveur SMTP en STARTTLS, port 587 et l'authentification est par mot de passe
    3. attention, en entrant et en sortant, comme identifiant, l'identifiant univ-amu (de la forme toto.l)


2014-07-07 transferring (lots of) files to a remote server + saving space

I have recently been asked how to transfer lots of file from a backup server to a local disk. The context is that

  1. the backup is an archive to be put on an external hard drive and then in a closet for future use,
  2. the transfer line is not quite reliable and transfers may stop (for instance if it is mounted as a samba / windows / applefile share)

Read more…


2014-02-10 SSH says 'Read from socket failed: Operation timed out'

While SSH is rock solid, we stumbled on a strange bug while trying to establish a connection:

$ ssh -vvv

OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011


Read from socket failed: Operation timed out

Nothing worked. The usual check of keys, encodings, permissions gave nothing.

The culprit could be the OS, the version of the OS or whatever magical spell. However, after investigating the issue it appears the issue was isolated for certain cases, in particular within some homemade LAN, but not for a laptop computer thatcame freshly unpacked with no homemade setting.

This rang a bell, and by checking network settign I remembered that I had set "jumbo frames", that is I increased the MTU of my network card (in the hardware tab from the network settings on MacOsX) from 1500 (standard) to 9000 (jumbo).

Going back to the default velues restored the capacity to connect. Many thanks to Jimmy for finding that one!


2012-11-28 setting the umask to define default permissions for created files

  • the parameter to use is umask

  • on a cluster I get

    $ umask
    $ touch test
    $ ls -l test
    -rw-r--r-- 1 perrinet.l invibe 0 Nov 28 11:32 test
    $ umask u=rwx,g=rwx,o=
    $ touch test2
    $ ls -l test2
    -rw-rw---- 1 perrinet.l invibe 0 Nov 28 11:33 test2
  • so I did:

    perrinet.l@frioul:~$ vim .profile
    # ~/.profile: executed by the command interpreter for login shells.
    # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
    # exists.
    # see /usr/share/doc/bash/examples/startup-files for examples.
    # the files are located in the bash-doc package.
    # the default umask is set in /etc/profile; for setting the umask
    # for ssh logins, install and configure the libpam-umask package.
    #umask 022
    umask u=rwx,g=rwx,o=
    # if running bash
    if [ -n "$BASH_VERSION" ]; then
        # include .bashrc if it exists
        if [ -f "$HOME/.bashrc" ]; then
            . "$HOME/.bashrc"
    # set PATH so it includes user's private bin if it exists
    if [ -d "$HOME/bin" ] ; then
  • before loging out I have

    perrinet.l@frioul:~$ umask
  • and after

    perrinet.l@frioul:~$ logout
    Connection to closed.
    [11:36:49]int-users-4-058: ~/Desktop/Dropbox/TROPIQUE/demos/12-11-11_projection $ frioul
     ######  #####      #     ####   #    #  #
     #       #    #     #    #    #  #    #  #
     #####   #    #     #    #    #  #    #  #
     #       #####      #    #    #  #    #  #
     #       #   #      #    #    #  #    #  #
     #       #    #     #     ####    ####   ######
    perrinet.l@frioul:~$ umask
    perrinet.l@frioul:~$ touch test
    perrinet.l@frioul:~$ ls -l test
    -rw-rw---- 1 perrinet.l invibe 0 Nov 28 11:37 test
  • Done!


2012-06-12 racourci pour accéder à une page INIST

  • dans un journalqui nécessite un abonnement pour accéder au contenu, il faut passer par le serveur de l'INIST.

  • pour ne pas avoir à taper "" pour accéder au texte d'un papier, on peut utiliser un bookmarklet avec comme adresse:

  • maintenant, sur la page incriminée, cliquer sur ce bookmark, et voilà.

  • pour en savoir plus sur les bookmarklets, suivre .


2012-03-11 Stop Bonjour from broadcasting ssh and sftp

largely a copy-and-paste from ; Jun 25, '07 07:30:00AM • Contributed by: delight1
  • After doing a backup, edit the following file:

    sudo vim /System/Library/LaunchDaemons/ssh.plist
  • In the editor, the goal is to delete these two lines:

  • They should be found around lines 22 and 23. In vim, this is easily done by typing \ssh, then n until you are on the right line. Then type d2d to delete these 2 line. Finally issue wq! to save and quit.

  • Save the file and quit the editor. Then go to System Preferences » Sharing » Services, unlock it, disable Remote Login, and final re-enable Remote Login. You can check if things worked by using Bonjour Browser or some such similar app to be sure ssh/sftp no longer show up.

  • A simple grep-irbonjour/System/Library/LaunchDaemons/ gives:

    /System/Library/LaunchDaemons/                  <key>Bonjour</key>
    /System/Library/LaunchDaemons/                      <key>Bonjour</key>
    /System/Library/LaunchDaemons/                        <key>Bonjour</key>
    /System/Library/LaunchDaemons/                       <key>Bonjour</key>
    /System/Library/LaunchDaemons/                    <key>Bonjour</key>
    /System/Library/LaunchDaemons/                    <key>Bonjour</key>
    /System/Library/LaunchDaemons/                     <key>Bonjour</key>
    /System/Library/LaunchDaemons/                     <key>Bonjour</key>
    /System/Library/LaunchDaemons/                     <key>Bonjour</key>
    /System/Library/LaunchDaemons/                   <key>Bonjour</key>
    /System/Library/LaunchDaemons/                     <key>Bonjour</key>
    /System/Library/LaunchDaemons/                     <key>Bonjour</key>
    /System/Library/LaunchDaemons/                     <key>Bonjour</key>
    /System/Library/LaunchDaemons/                     <key>Bonjour</key>
    /System/Library/LaunchDaemons/                 <key>Bonjour</key>
    /System/Library/LaunchDaemons/                    <key>Bonjour</key>
    /System/Library/LaunchDaemons/                     <key>Bonjour</key>
    /System/Library/LaunchDaemons/ftp.plist:                        <key>Bonjour</key>
    /System/Library/LaunchDaemons/ssh.plist:                        <key>Bonjour</key>
    Binary file /System/Library/LaunchDaemons/telnet.plist matches

    so, you may want to change these too.


2012-02-22 access spawn

  • Finder / Pomme-K / smb://

  • CLI

    mkdir /Volumes/work ; mount_smbfs smb://perrinet@ /Volumes/work
  • CLI

    umount /Volumes/work


2012-02-17 paramétrer l'e-mail à l'INT

2012-02-16 13:47:12
  • paramétrer un nouveau compte avec son adresse
  • indiquer les parametres:
    1. serveur IMAP
    2. SSL (port 993)
    3. comme identifiant, l'identifiant univmed (de la forme toto.l)
    4. serveur SMTP

Sélectionner IMAP et le nommer UNIV-AMU.

Saisir votre adresse mail

Votre login est du genre : nom.x ou nom (x est la première lettre de votre prénom)

Saisir le : Prénom NOM

L'adresse du serveur IMAP est :

Le port est 993 avec chiffrement SSL et l'authentification est par mot de passe.


Sélectionner SMTP et le nommer UNIV-AMU.

L'adresse du serveur IMAP est :

Votre login est du genre : nom.x ou nom

Le port est 465 avec chiffrement SSL et l'authentification est par mot de passe.