Home | History | Annotate | Download | only in cygwin

Lines Matching refs:ssh

3 # ssh-host-config, Copyright 2000-2014 Red Hat Inc.
44 /usr/bin/ssh-keygen openssh
76 local _my_etcdir="/ssh-host-config.$$"
94 # Add ssh 22/tcp and ssh 22/udp to services
95 if [ `/usr/bin/grep -q 'ssh[[:space:]][[:space:]]*22' "${_services}"; echo $?` -ne 0 ]
97 if /usr/bin/awk '{ if ( $2 ~ /^23\/tcp/ ) print "ssh 22/tcp'"${_spaces}"'SSH Remote Login Protocol\nssh 22/udp'"${_spaces}"'SSH Remote Login Protocol"; print $0; }' < "${_services}" > "${_serv_tmp}"
101 csih_inform "Added ssh to ${_wservices}"
103 csih_warning "Adding ssh to ${_wservices} failed!"
108 csih_warning "Adding ssh to ${_wservices} failed!"
126 csih_inform "permissions of the user's home directory, the user's .ssh"
127 csih_inform "directory, and the user's ssh key files are tight so that"
237 /usr/bin/grep -q '^[[:space:]]*ssh' "${_inetcnf}" && _with_comment=0
239 # check for sshd OR ssh in top-level inetd.conf file, and remove
241 if [ $(/usr/bin/grep -q '^[# \t]*ssh' "${_inetcnf}"; echo $?) -eq 0 ]
243 /usr/bin/grep -v '^[# \t]*ssh' "${_inetcnf}" >> "${_inetcnf_tmp}"
248 csih_inform "Removed ssh[d] from ${_inetcnf}"
250 csih_warning "Removing ssh[d] from ${_inetcnf} failed!"
255 csih_warning "Removing ssh[d] from ${_inetcnf} failed!"
304 # Add ssh line to inetd.conf
305 if [ `/usr/bin/grep -q '^[# \t]*ssh' "${_inetcnf}"; echo $?` -ne 0 ]
309 echo 'ssh stream tcp nowait root /usr/sbin/sshd sshd -i' >> "${_inetcnf}"
311 echo '# ssh stream tcp nowait root /usr/sbin/sshd sshd -i' >> "${_inetcnf}"
315 csih_inform "Added ssh to ${_inetcnf}"
317 csih_warning "Adding ssh to ${_inetcnf} failed!"
397 csih_warning "and try to run the ssh-host-config script again."
616 # Check for running ssh/sshd processes first. Refuse to do anything while
617 # some ssh processes are still running
621 csih_error "There are still ssh processes running. Please shut them down first."
660 "Cannot create ssh host configuration."
681 csih_inform "Generating missing SSH host keys"
682 /usr/bin/ssh-keygen -A || let warning_cnt+=$?
716 csih_warning "then re-run ssh-host-config."