Being sick, no internet access available plus no new movie to watch, my friend ask me for shell account in freebsd box. He said for education purpose, wanna learn about ssh. Why not try it in windows? thats my question after see his Acer notebook. Is it possible? he reply
I don’t know, need to ask google first.
During search, I stumble upon of cygwin plus ssh solution.
Is there any easier solution for newbie like me?
Google pointing other soilution : sshd for windows
Download latest version from here, choose Binary Installer Releases
Quick install steps :
Click Next
Click Next
Choose Install Location and click Next
Installing begin
Important things before starting ssh server
Installation process finish
Time for configuration, click Start -> Run, put cmd then click OK
In dos mode :
C:\Program Files\OpenSSH\bin>mkgroup -l >> ..\etc\group
C:\Program Files\OpenSSH\bin>mkgroup -l >> ..\etc\group
C:\Program Files\OpenSSH\bin>mkgroup -d >> ..\etc\group
C:\Program Files\OpenSSH\bin>mkgroup -d >> ..\etc\group
C:\Program Files\OpenSSH\bin>mkpasswd -l -ualamster >> ..\etc\passwd
mkpasswd: [2221] The user name could not be found.C:\Program Files\OpenSSH\bin>mkpasswd -l -uadministrator >> ..\etc\passwd
C:\Program Files\OpenSSH\bin>mkpasswd -d -uadministrator >> ..\etc\passwd
mkpasswd: [2453] Could not find domain controller for this domain.
C:\Program Files\OpenSSH\bin>mkpasswd -d -uadministrator >> ..\etc\passwd
mkpasswd: [2453] Could not find domain controller for this domain.
C:\Program Files\OpenSSH\bin>net start opensshd
The OpenSSH Server service is starting.
The OpenSSH Server service was started successfully.
Check from client (freebsd box)
-bash-2.05b$ telnet 202.146.xxx.yyy 22
Trying 202.146.176.100…
Connected to alamster.elnus.co.id.
Escape character is ‘^]’.
SSH-2.0-OpenSSH_3.8.1p1
^CquitConnection closed by foreign host.
-bash-2.05b$ quit
-bash: quit: command not found
-bash-2.05b$
-bash-2.05b$ ssh [email protected]
The authenticity of host ‘202.146.xxx.yyy (202.146.xxx.yyy)’ can’t be establishe d.
DSA key fingerprint is 4f:4f:0a:94:fc:8c:ec:da:07:9e:00:00:d0:a7:02:6d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘202.146.xxx.yyy’ (DSA) to the list of known hosts.
****USAGE WARNING****
This is a private computer system. This computer system, including all
related equipment, networks, and network devices (specifically including
Internet access) are provided only for authorized use. This computer system
may be monitored for all lawful purposes, including to ensure that its use
is authorized, for management of the system, to facilitate protection against
unauthorized access, and to verify security procedures, survivability, and
operational security. Monitoring includes active attacks by authorized entities
to test or verify the security of this system. During monitoring, information
may be examined, recorded, copied and used for authorized purposes. All
information, including personal information, placed or sent over this system
may be monitored.
Use of this computer system, authorized or unauthorized, constitutes consent
to monitoring of this system. Unauthorized use may subject you to criminal
prosecution. Evidence of unauthorized use collected during monitoring may be
used for administrative, criminal, or other adverse action. Use of this system
constitutes consent to monitoring for these purposes.
[email protected]’s password:
Permission denied, please try again.
[email protected]’s password:
Permission denied, please try again.
[email protected]’s password:
Permission denied (publickey,password,keyboard-interactive).
-bash-2.05b$
Done, sshd server work in Windows XP 🙂