OpenSSH

Discussion in 'Vapaata keskustelua' started by tommi85, Aug 27, 2002.

  1. tommi85

    tommi85 Regular member

    Joined:
    Nov 26, 2001
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    26
    olen asentanut openSSH:n Windows uusimman version. Siinä on vaan semmonen ongelma että kun menen komentoriville ja menen sinne \SSH hakemistoon ja rupean kirjoittamaan mkpasswd -l -u tommipii
    niin ohjelma tulostaa:
    mkpasswd: [2453] Toimialueen ohjauskonetta ei löydy.

    Mulla on winXP ja nyt kertokaa mulle mikä tässä mättää kun pitäisi saada ssh servu pystyyn...
     
  2. tommi85

    tommi85 Regular member

    Joined:
    Nov 26, 2001
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    26
    ohjeissa sanotaan:

    QUICK CONFIGURE
    ===============
    1) Open a command prompt and move to your install directory (c:\program files\networksimplicity by default).
    Start -> Run -> cmd
    c:
    cd \program files\networksimplicity

    2) Go into the ssh subdirectory
    cd ssh

    3) Use mkpasswd to setup your passwd file. For instance, if you want local user "localjoe" to be able to login you would type:
    mkpasswd -l -u localjoe >> ..\etc\passwd

    If you wanted domain user "domainbob" to be able to login you would type:
    mkpasswd -d -u domainbob >> ..\etc\passwd

    If you are on a domain controller I recommend using the -d option, rather than the -l option. Though -l is a valid option on a domain controller for domain accounts you can end up having a spurious group ID associated with your username.

    NOTE: If you want to use mkpasswd with a user that is not in your primary domain then you must use a different syntax. If you wanted to get user jdoe from trusted domain trustdomain you would type:
    mkpasswd -d -u jdoe trustdomain >> ..\etc\passwd

    Do this for all users that should be able to login. You can copy this files to other OpenSSH on Windows installations as long as the users are identical.
     
  3. tommi85

    tommi85 Regular member

    Joined:
    Nov 26, 2001
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    26
    sitä apua?
    Asialla on periaatteessa kiire joten kaikki avut otetaan vastaan...
     
  4. tommi85

    tommi85 Regular member

    Joined:
    Nov 26, 2001
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    26
    Eikö kukaan muka ole tehnyt OpenSSH:lla windownsiin SSH serveriä?
    Apuja otetaan vastaan...
     
  5. Jaanz

    Jaanz Regular member

    Joined:
    Mar 12, 2002
    Messages:
    327
    Likes Received:
    0
    Trophy Points:
    26
    Turhaan tätä viestiä kirjoitan mutta, mulla ei ole ainakaan kokemusta tuosta millään tavalla tai no vähän mutta ei serveri muodossa.
    Sulla kokemusta MySQL:lästä?
     
  6. tommi85

    tommi85 Regular member

    Joined:
    Nov 26, 2001
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    26
    ei ole.
    Kuinka niin?
     

Share This Page