4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:ssh tag:config — newest first
  • OpenSSH Tip: Check Syntax Errors before Restarting Server

    not bad
    $ sudo /usr/sbin/sshd -t
    $ echo $?

    January 8, 2014 - permalink - http://www.cyberciti.biz/tips/checking-openssh-sshd-configuration-syntax-errors.html
    check config server ssh
  • ssh config file : proxy

    Pour utiliser machinerebond pour accéder aux *.vm automatiquement :

    $ cat .ssh/config
    Host=machinerebond
    Hostname=machinerebond.fqdn.com
    User=root

    Host=*.distant
    User=root
    ProxyCommand=ssh -W %h:22 machinerebond

    Alternative :
    D'abord se co sur la machine rebond avec un -A pour ramener sa key dans l'agent distant
    Ensuite on peut se co sur les autres machines, mais plus long.

    Autres directives possibles :
    ServerAliveInterval 30
    ServerAliveCountMax 120

    Port 22000
    User fooey
    IdentityFile ~/.ssh/github.key
    LocalForward 9906 127.0.0.1:3306
    more : http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html

    October 10, 2013 - permalink - https://links.infomee.fr/shaare/0hyAJQ
    config memo proxy ssh