4359 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
  • 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 at 11:36:42 AM GMT+2 * - permalink - archive.org - https://links.infomee.fr/shaare/0hyAJQ
    proxy ssh memo config
Links per page: 20 50 100
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation