Difference between revisions of "cygwin openssh server"
From thelinuxwiki
(Created page with "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 jsmit...") |
|||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | install cygwin & openssh-server | ||
+ | |||
+ | if on windows7 (or windows 8???), create the cyg-server user account | ||
+ | net add cyg-server <password> /ADD | ||
+ | |||
Open a new bash shell window and run the SSH configure stuff. | Open a new bash shell window and run the SSH configure stuff. | ||
ssh-host-config -y | ssh-host-config -y | ||
Line 4: | Line 10: | ||
start the service. | start the service. | ||
cygrunsrv -S sshd | cygrunsrv -S sshd | ||
+ | |||
+ | or (works on windows 8) | ||
+ | |||
+ | net start sshd | ||
set password for existing windows user | set password for existing windows user |
Latest revision as of 15:01, 5 August 2014
install cygwin & openssh-server
if on windows7 (or windows 8???), create the cyg-server user account
net add cyg-server <password> /ADD
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