4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
◄Older
page 2 / 4
Newer►
69 results tagged ssh x
  • thumbnail
    How to get exit status with Ruby's Net::SSH library? - Stack Overflow
    May 28, 2015 at 3:47:43 PM GMT+2 - permalink - archive.org - http://stackoverflow.com/questions/3386233/how-to-get-exit-status-with-rubys-netssh-library
    rake ruby ssh
  • Linux / UNIX: ssh command prompt

    <CR>
    tilde
    <key>

    April 24, 2015 at 10:20:13 AM GMT+2 - permalink - archive.org - http://www.cyberciti.biz/faq/openssh-linux-unix-osx-kill-hung-ssh-session/
    command prompt ssh
  • thumbnail
    ip - How to make ssh tunnel open to public? - Super User

    -R [bind_address:]port:host:hostport

    ssh -R *:8080:localhost:80 -N root@website.com
    or
    ssh -R 0.0.0.0:8080:localhost:80 -N root@website.com
    or
    ssh -R [::]:8080:localhost:80 -N root@website.com

    Note that if you use OpenSSH sshd server, the server's GatewayPorts option needs to be enabled (set to yes or clientspecified) for this to work (check file /etc/ssh/sshd_config on the server). Otherwise (default value for this option is no), the server will always force port bound on the loopback interface only.

    April 16, 2015 at 11:40:11 AM GMT+2 - permalink - archive.org - http://superuser.com/questions/588591/how-to-make-ssh-tunnel-open-to-public
    remote ssh tunnel
  • 'Re: exception in thread? in Net::SSH::Multi' - MARC

    errs = []
    def test_server(errs, server)
    lambda do |options|
    begin
    server =~ /(.+)@(.+)/
    server_name, user = $2, $1
    puts server_name
    s = Net::SSH.start(server_name, user)
    s.close
    s = server
    rescue Errno::EHOSTUNREACH, SocketError
    puts "echec connexion #{server} : #{$!}"
    errs << server
    s = nil
    end

        return s
    end

    end

    Net::SSH::Multi.start(:on_error => :warn) do |session|

    define the servers we want to use

    session.use &test_server(errs, 'root@srv-04')
    session.use &test_server(errs, 'root@srv-07')
    session.use &test_server(errs, 'root@srv-08')
    session.use &test_server(errs, 'root@fail-08.local')

    execute commands on all servers

    session.exec( "hostname" )

    run the aggregated event loop

    session.loop
    end

    unless errs.empty?
    puts "The command failed on #{errs.size} hosts"
    end

    January 23, 2015 at 3:05:30 PM GMT+1 - permalink - archive.org - http://marc.info/?l=ruby-talk&m=122278906522776&w=2
    multissh ruby ssh
  • thumbnail
    Why aren’t we using SSH for everything? — Medium
    January 18, 2015 at 2:47:54 PM GMT+1 - permalink - archive.org - https://medium.com/@shazow/ssh-how-does-it-even-9e43586e4ffc
    ssh
  • Mosh: the mobile shell
    January 18, 2015 at 2:47:04 PM GMT+1 - permalink - archive.org - https://mosh.mit.edu/
    client lag mobile ssh
  • thumbnail
    What is a SSH key fingerprint and how is it generated? - Super User

    Dans les logs d'accès ssh (/var/log/auth.log), si vous avez passé le loglevel de SSH à VERBOSE, vous pouvez voir pour chaque accès la clé qui a été utilisé.
    Le format est différent de celui dans authorized_keys pour des raisons de lisibilité j'imagine.. Pour faire la conversion depuis authorized_keys vers ce format :

    echo key | base64 | md5
    ou
    ssh-keygen -lf key.pub

    January 18, 2015 at 2:38:57 PM GMT+1 - permalink - archive.org - http://superuser.com/questions/421997/what-is-a-ssh-key-fingerprint-and-how-is-it-generated
    fingerprint key ssh
  • Using an ssh-agent, or how to type your ssh password once, safely.
    January 18, 2015 at 2:29:15 PM GMT+1 - permalink - archive.org - http://rabexc.org/posts/using-ssh-agent
    agent ssh
  • Sessions ssh en cours

    Trouver tous les pid des sessions ssh en cours :
    ss -tnp|grep ':22'
    ss -tp|grep ':22'|grep -Eo ',[0-9]+,'|grep -Eo '[0-9]+'

    Trouver depuis quand ces process sont démarrés :

    ps -eo pid,etimes|grep 26205

    26205 329840

    echo "$(date +%s) - 329743"|bc

    1419103787

    date -d@$(echo "$(date +%s) - 329743"|bc)

    Sat Dec 20 20:31:42 CET 2014

    One liner :

    start time

    for pid in $(ss -tp|grep ':22'|grep -Eo ',[0-9]+,'|grep -Eo '[0-9]+'); do date -d@$(echo "$(date +%s) - $(ps -o etimes -p $pid --no-headers)"|bc); done

    pid + start time

    for pid in $(ss -tp|grep ':22'|grep -Eo ',[0-9]+,'|grep -Eo '[0-9]+'); do echo -n "$pid : " && date -d@$(echo "$(date +%s) - $(ps -o etimes -p $pid --no-headers)"|bc); done

    Si le log level de ssh est en VERBOSE, on peut chercher dans auth.log le fingerprint de la clé publique correspondant à la date à laquelle une session ssh a démarré :

    zgrep sshd /var/log/auth.log*|grep Accepted|grep 'Dec 20'

    January 8, 2015 at 6:20:33 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?9HRSiQ
    ssh
  • Tyblog | SSH Kung Fu
    January 1, 2015 at 3:12:34 PM GMT+1 - permalink - archive.org - http://blog.tjll.net/ssh-kung-fu/
    ssh
  • The pitfalls of using ssh-agent, or how to use an agent safely
    January 1, 2015 at 3:12:14 PM GMT+1 - permalink - archive.org - http://rabexc.org/posts/pitfalls-of-ssh-agents
    security ssh
  • Exploitability: Attaquer ssh avec ssh-agent.
    January 1, 2015 at 2:41:38 PM GMT+1 - permalink - archive.org - http://exploitability.blogspot.fr/2011/10/attaquer-ssh-avec-ssh-agent.html
    security ssh
  • linux - Is it possible to get OpenSSH to log the public key that was used in authentication? - Server Fault

    Je préfère cette solution, à savoir passer sshd en VERBOSE.

    L'autre solution consiste à utiliser environment dans le fichier authorized_keys puis à écrire dans un fichier (à l'aide de .bashrc par exemple). Mais l'utilisateur peut modifier ce fichier..

    ssh-keygen -lf /path/to/public_key_file

    December 23, 2014 at 5:15:21 PM GMT+1 - permalink - archive.org - http://serverfault.com/questions/291763/is-it-possible-to-get-openssh-to-log-the-public-key-that-was-used-in-authenticat
    audit ssh
  • Russell91/sshrc · GitHub

    wow could be useful

    via skunnyk

    September 19, 2014 at 10:26:30 AM GMT+2 - permalink - archive.org - https://github.com/Russell91/sshrc
    dotconf dotrc linux rc ssh
  • SSH Cheat Sheet | pentestmonkey

    petit rappel
    cheatsheet bien faite

    September 3, 2014 at 10:30:31 AM GMT+2 - permalink - archive.org - http://pentestmonkey.net/cheat-sheet/ssh-cheat-sheet
    ssh
  • thumbnail
    https://github.com/NetSPI/sshkey-grab

    Bon ce code n'a pas marché chez moi... mais il faut bien garder en tête qu'une clé chargée avec un agent va résider en mémoire de manière non chiffrée ;)

    Et de la même manière, elle va résider en mémoire sur un hôte distant si on se connecte en 'ssh -A'. Donc potentiellement, quelqu'un qui a un accès root sur cette machine distante peut récupérer les clés privés des gens qui s'y connectent (en -A)

    github link via skunnyk

    July 21, 2014 at 4:16:55 PM GMT+2 - permalink - archive.org - https://github.com/NetSPI/sshkey-grab
    key security ssh
  • If you run SSHD in your Docker containers, you're doing it wrong!

    via skunnyk

    June 25, 2014 at 10:21:50 AM GMT+2 - permalink - archive.org - http://jpetazzo.github.io/2014/06/23/docker-ssh-considered-evil/
    docker ssh
  • SSHFS inversé (rsshfs) – ®om's blog
    June 16, 2014 at 8:19:24 PM GMT+2 - permalink - archive.org - http://blog.rom1v.com/2014/06/sshfs-inverse-rsshfs/
    ssh sshfs
  • Keep an Eye on SSH Forwarding! | /dev/random

    Quelques pistes pour monitorer le TCPforwarding

    June 3, 2014 at 3:03:36 PM GMT+2 - permalink - archive.org - http://blog.rootshell.be/2009/03/01/keep-an-eye-on-ssh-forwarding/
    forwarding ssh tcp tunnel
  • Performing UDP tunneling through an SSH connection
    • http://www.dest-unreach.org/socat/
    • http://superuser.com/questions/53103/udp-traffic-through-ssh-tunnel
    June 3, 2014 at 9:54:03 AM GMT+2 - permalink - archive.org - http://zarb.org/~gc/html/udp-in-ssh-tunneling.html
    dns networking ssh udp
Links per page: 20 50 100
◄Older
page 2 / 4
Newer►
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation