Página 2 de 4 PrimeiroPrimeiro 1234 ÚltimoÚltimo
+ Responder ao Tópico



  1. não e não pretendo parar tão cedo, to qurendo me organizar melhor pra poder falar mais ainda heheheh

  2. Achei isto aqui:

    HostKey /etc/ssh/ssh_host_key
    HostKey /etc/ssh/ssh_host_rsa_key
    HostKey /etc/ssh/ssh_host_dsa_key
    ServerKeyBits 768
    LoginGraceTime 600 <---------------------------- acho que eh aqui
    KeyRegenerationInterval 3600

    Será?



  3. nao, isso ae eh o timeout do login, qdo abre o prompt, se a pessoa nao entrar com o login nesse tempo ai ele mata a conexao.......

    jah te falei qual eh a variavel

  4. Aí vai o meu ssh_conf cara....

    -----------------------------------------------------------------------------------------------------
    # $OpenBSD: ssh_config,v 1.16 2002/07/03 14:21:05 markus Exp $

    # This is the ssh client system-wide configuration file. See
    # ssh_config(5) for more information. This file provides defaults for
    # users, and the values can be changed in per-user configuration files
    # or on the command line.

    # Configuration data is parsed as follows:
    # 1. command line options
    # 2. user-specific file
    # 3. system-wide file
    # Any configuration value is only changed the first time it is set.
    # Thus, host-specific definitions should be at the beginning of the
    # configuration file, and defaults at the end.

    # Site-wide defaults for various options

    # Host *
    # ForwardAgent no
    ForwardX11 yes
    # RhostsAuthentication no
    # RhostsRSAAuthentication no
    # RSAAuthentication yes
    # PasswordAuthentication yes
    # HostbasedAuthentication no
    # BatchMode no
    # CheckHostIP yes
    # StrictHostKeyChecking ask
    # IdentityFile ~/.ssh/identity
    # IdentityFile ~/.ssh/id_rsa
    # IdentityFile ~/.ssh/id_dsa
    # Port 22
    # Protocol 2,1
    # Cipher 3des
    # Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
    # EscapeChar ~
    -----------------------------------------------------------------------------------------------------

    Tem também o sshd_conf
    -----------------------------------------------------------------------------------------------------
    # $OpenBSD: sshd_config,v 1.38 2001/04/15 21:41:29 deraadt Exp $

    # This sshd was compiled with PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    # This is the sshd server system-wide configuration file. See sshd(8)
    # for more information.

    Port 22

    #Protocol 2,1
    #ListenAddress 0.0.0.0
    #ListenAddress ::

    HostKey /etc/ssh/ssh_host_key
    HostKey /etc/ssh/ssh_host_rsa_key
    HostKey /etc/ssh/ssh_host_dsa_key
    ServerKeyBits 768
    LoginGraceTime 600
    KeyRegenerationInterval 3600

    PermitRootLogin yes

    IgnoreRhosts yes
    #IgnoreUserKnownHosts yes
    StrictModes yes

    X11Forwarding yes

    X11DisplayOffset 10
    PrintMotd no
    PrintLastLog no
    KeepAlive yes

    SyslogFacility AUTH
    LogLevel INFO

    #RhostsAuthentication no
    RhostsRSAAuthentication no
    HostbasedAuthentication no
    RSAAuthentication yes

    ChallengeResponseAuthentication yes
    PasswordAuthentication yes

    PermitEmptyPasswords no

    # Uncomment to enable PAM keyboard-interactive authentication
    # Warning: enabling this may bypass the setting of 'PasswordAuthentication'
    #PAMAuthenticationViaKbdInt yes

    # To change Kerberos options
    # NB: Debian's ssh ships without Kerberos Support
    #KerberosAuthentication no
    #KerberosOrLocalPasswd yes
    #AFSTokenPassing no
    #KerberosTicketCleanup no

    # Kerberos TGT Passing does only work with the AFS kaserver
    #KerberosTgtPassing yes

    #CheckMail yes
    #UseLogin no

    #MaxStartups 10:30:60
    #Banner /etc/issue.net
    #ReverseMappingCheck yes

    Subsystem sftp /usr/lib/sftp-server
    UsePAM yes
    -----------------------------------------------------------------------------------------------------

    Divirta-se



  5. cara jah te dei a resposta >>>>>>>>
    Citação Postado originalmente por 1c3_m4n
    eh a a ClientAliveInterval :P
    vc ainda nao coloco isso no teu conf






Tópicos Similares

  1. Logar sessão ssh
    Por Odair_Beraldo_Nunes no fórum Servidores de Rede
    Respostas: 1
    Último Post: 31-05-2006, 11:49
  2. voltando a sessão do SSH inativa
    Por whinston no fórum Servidores de Rede
    Respostas: 24
    Último Post: 09-06-2005, 16:42
  3. finalizando a sessão ssh
    Por no fórum Servidores de Rede
    Respostas: 11
    Último Post: 18-04-2005, 11:29
  4. comando q nao encerre com a sessao SSH
    Por daniell no fórum Servidores de Rede
    Respostas: 4
    Último Post: 16-08-2004, 15:15
  5. Alerta por E-mail no inicio de uma sessão SSH
    Por daniell no fórum Servidores de Rede
    Respostas: 2
    Último Post: 28-05-2004, 07:15

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L