Deleted Added
full compact
ssh-host-config (221377) ssh-host-config (239849)
1#!/bin/bash
2#
3# ssh-host-config, Copyright 2000-2011 Red Hat Inc.
4#
5# This file is part of the Cygwin port of OpenSSH.
6#
7# Permission to use, copy, modify, and distribute this software for any
8# purpose with or without fee is hereby granted, provided that the above

--- 479 unchanged lines hidden (view full) ---

488 csih_inform "\`net start sshd' or \`cygrunsrv -S sshd'. Otherwise, it"
489 csih_inform "will start automatically after the next reboot."
490 fi
491 else
492 if /usr/bin/cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd \
493 -a "-D" -y tcpip "${cygwin_env[@]}" \
494 -u "${run_service_as}" -w "${password}"
495 then
1#!/bin/bash
2#
3# ssh-host-config, Copyright 2000-2011 Red Hat Inc.
4#
5# This file is part of the Cygwin port of OpenSSH.
6#
7# Permission to use, copy, modify, and distribute this software for any
8# purpose with or without fee is hereby granted, provided that the above

--- 479 unchanged lines hidden (view full) ---

488 csih_inform "\`net start sshd' or \`cygrunsrv -S sshd'. Otherwise, it"
489 csih_inform "will start automatically after the next reboot."
490 fi
491 else
492 if /usr/bin/cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd \
493 -a "-D" -y tcpip "${cygwin_env[@]}" \
494 -u "${run_service_as}" -w "${password}"
495 then
496 /usr/bin/editrights -u "${run_service_as}" -a SeServiceLogonRight
496 echo
497 csih_inform "The sshd service has been installed under the '${run_service_as}'"
498 csih_inform "account. To start the service now, call \`net start sshd' or"
499 csih_inform "\`cygrunsrv -S sshd'. Otherwise, it will start automatically"
500 csih_inform "after the next reboot."
501 fi
502 fi
503

--- 254 unchanged lines hidden ---
497 echo
498 csih_inform "The sshd service has been installed under the '${run_service_as}'"
499 csih_inform "account. To start the service now, call \`net start sshd' or"
500 csih_inform "\`cygrunsrv -S sshd'. Otherwise, it will start automatically"
501 csih_inform "after the next reboot."
502 fi
503 fi
504

--- 254 unchanged lines hidden ---