Results 1 to 1 of 1

Thread: How-to: Configurando SSHD manualmente

  1. #1
    Moderator firebits's Avatar
    Join Date
    Mar 2010
    Location
    Brazil
    Posts
    353

    Lightbulb How-to: Configurando SSHD manualmente

    Passo 1- Gerando as chaves criptográficas

    root@bt4:~# sshd-generate

    Generating public/private rsa1 key pair.
    Your identification has been saved in /etc/ssh/ssh_host_key.
    Your public key has been saved in /etc/ssh/ssh_host_key.pub.
    The key fingerprint is:
    34:ea:36:7f:12:c8:01:a7:ea:e0:fb:d5:cd:75:ee:a5 root@bt4
    The key’s randomart image is:
    +–[RSA1 2048]—-+
    | |
    | . . |
    | + o |
    | . .o . |
    | . ..oS . . |
    |. . .+ + . o |
    |.o .+. + . . |
    | .. .. o. . . o |
    | .o. .o E |
    +—————–+

    Generating public/private rsa key pair.
    Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
    Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
    The key fingerprint is:
    31:ee:1d:77:1a:99:21:8d:1f:a1:53:1e:ff:b2:4a:ed root@bt4
    The key’s randomart image is:
    +–[ RSA 2048]—-+
    | + |
    | * + |
    | o = = . |
    | . o + = . |
    | S . * o .|
    | . . o = o |
    | . . o o |
    | . o |
    | . E |
    +—————–+
    Generating public/private dsa key pair.
    Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
    Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
    The key fingerprint is:
    84:6c:54:be:22:b0:c3:71:61:1e:07:09:37:67:ae:9d root@bt4
    The key’s randomart image is:
    +–[ DSA 1024]—-+
    | ..Bo=.. |
    | +.@ o |
    | o o = o |
    | . = + o . |
    | + o E S |
    | . . . |
    | |
    | |
    | |
    +—————–+

    Passo 2 - Iniciar o serviço do SSH

    root@bt4:~# /etc/init.d/ssh start
    * Starting OpenBSD Secure Shell server sshd [ OK ]
    root@bt4:~# netstat -antp | grep 22
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 6111/sshd
    tcp6 0 0 :::22 :::* LISTEN 6111/sshd
    root@bt4:~#
    Last edited by firebits; 04-27-2010 at 02:07 PM.

Similar Threads

  1. SSHD error via Flux Menu
    By imported_BaconZombie in forum OLD BT3final Bugs and Fixes
    Replies: 2
    Last Post: 06-23-2008, 05:20 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •