Tech and Academic things for Chianshin

Thursday, January 24, 2008

How to install OpenSSH sshd server and sftp server on a Windows 2000 or Windows XP or Windows Vista

How to install OpenSSH sshd server and sftp server on a Windows 2000 or Windows XP or Windows Vista: "ssh-host-config -y (on slower computers, it may take several minutes to generate the dsa security keys)
If the script asks you about 'privilege separation', answer yes
If the script asks about 'create a local user sshd on this machine', answer yes
If the script asks you about 'install sshd as a service', answer yes

Windows Vista
If Vista asks 'create a new local account ssh_server which has the required privileges' answer yes

When the script stops and asks you for 'environment variable CYGWIN=' your answer is ntsec tty
(click here for an explanation of ntsec)
(click here for an explanation of tty )
(thanks to Peter Reutemann of New Zealand and Ron Dozier of University of Delaware)
(thanks to Mike and Michael Pechner for the Windows Vista tip)
(thanks to Kevin Hilton on the Vista tips in the ssh-host-config section)

See Note 25 near the end of this web page if you need to run ssh-host-config again.

(6) While you are still in the (black) cygwin screen, start the sshd service, type
net start sshd"

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home