Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Cygwin help!  (Read 4392 times)

0 Members and 1 Guest are viewing this topic.

flyhigh@night

    Topic Starter


    Rookie

    • Experience: Familiar
    • OS: Windows 7
    Cygwin help!
    « on: August 30, 2012, 09:01:21 PM »
    I'm trying to setup a SSH connection using this Application. The answer to this problem could be in the documentaiton. However, it is cumbersome and complex espeically to Cygwin. Although, I do have slight unix experience.

    Here is the problem I am running into, while following a tutuorial on how to set this up:

    Code: [Select]
    $ ssh-host-config




    *** Warning: Running this script typically requires administrator
    privileges!
    *** Warning: However, it seems your account does not have these
    privileges.
    *** Warning: Here's the list of groups in your user token:

        None
        Users

    *** Warning: This usually means you're running this script from a
    non-admin
    *** Warning: desktop session, or in a non-elevated shell under UAC
    control.

    *** Warning: Make sure you have the appropriate privileges right now,
    *** Warning: otherwise parts of this script will probably fail!

    *** Query: Are you sure you want to continue?  (Say "no" if you're not
    sure
    *** Query: you have the required privileges) (yes/no) yes

    yes
    *** Info: Creating default /etc/ssh_config file
    *** Query: Overwrite existing /etc/sshd_config file? (yes/no) tes
    *** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes
    *** Info: Creating default /etc/sshd_config file
    *** Info: Privilege separation is set to yes by default since OpenSSH
    3.3.
    *** Info: However, this requires a non-privileged account called 'sshd'.
    *** Info: For more info on privilege separation read
    /usr/share/doc/openssh/README.privsep.
    *** Query: Should privilege separation be used? (yes/no) yes
    *** Warning: The owner and the Administrators need
    *** Warning: to have .w. permission to /var/run.
    *** Warning: Here are the current permissions and ACLS:
    *** Warning:     drwxr-xr-x 1 owner None 0 Aug 29 21:23 /var/run
    *** Warning:     # file: /var/run
    *** Warning:     # owner: owner
    *** Warning:     # group: None
    *** Warning:     user::rwx
    *** Warning:     group::r-x
    *** Warning:     other:r-x
    *** Warning:     mask:rwx
    *** Warning:
    *** Warning: Please change the user and/or group ownership,
    *** Warning: permissions, or ACLs of /var/run.

    *** ERROR: Problem with /var/run directory. Exiting.

    I change the permissions of /var and /var/run to 777. No difference.
    In case this is relavant, I enter this command while running cygwin as administrator using UAC on windows. Well actually in the above scenario I was not using admin, but with admin access or not there is not difference in result.