poor man's winblows cygwin sshd
Stuck with winblows on the desktop. Downloaded an ISO from a vendor and needed to copy to an appliance. But security is tight except for stuff initiated from the appliance. Quickest solution was to run SSHD under cygwin:
ssh-keygen -t rsa -f /etc/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh_host_dsa_key
vi /etc/defaults/etc/sshd_config
--- sshd_config.orig 2010-09-02 13:30:23.690702700 -0500
+++ sshd_config 2010-09-02 13:24:02.021270400 -0500
@@ -94,6 +94,7 @@
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
+UsePrivilegeSeparation no
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
/usr/sbin/sshd -f /etc/defaults/etc/sshd_config -d
ssh-keygen -t rsa -f /etc/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh_host_dsa_key
vi /etc/defaults/etc/sshd_config
--- sshd_config.orig 2010-09-02 13:30:23.690702700 -0500
+++ sshd_config 2010-09-02 13:24:02.021270400 -0500
@@ -94,6 +94,7 @@
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
+UsePrivilegeSeparation no
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
/usr/sbin/sshd -f /etc/defaults/etc/sshd_config -d
Comments
Post a Comment