Difference between revisions of "cygwin openssh server"

From thelinuxwiki
Jump to: navigation, search
Line 5: Line 5:
 
  cygrunsrv -S sshd
 
  cygrunsrv -S sshd
  
or (works on windows 8)
+
or (works on windows 8)
  
 
  net start sshd
 
  net start sshd

Revision as of 15:21, 1 September 2013

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

ssh-host-config -y 

start the service.

cygrunsrv -S sshd

or (works on windows 8)

net start 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