cygwin openssh server

From thelinuxwiki
Revision as of 03:38, 16 August 2013 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Open a new bash shell window and run the SSH configure stuff.

ssh-host-config -y 

start the service.

cygrunsrv -S sshd

set password for existing windows user

passwd jsmith

login to your new ssh server

optional - configure history file for bash sessions. Add the following lines to .bash_profile

export HISTFILE=~/.bash_history
export HISTSIZE=9999 
export HISTFILESIZE=999999