直接用cygwin時(shí)發(fā)現(xiàn)"粘貼","復(fù)制"相當(dāng)?shù)穆闊? 搜索資料,找出一下方法. 1. 安裝cygwin, 并安裝sshd.(跟openssh有關(guān)的都選上也可^^) 2. 打開cygwin控制臺(tái):輸入ssh-host-config,一路yes. +--------------------------------------------------------------------------------+ admin@valley ~ $ ssh-host-config Overwrite existing /etc/ssh_config file? (yes/no) yes Generating /etc/ssh_config file Overwrite existing /etc/sshd_config file? (yes/no) yes Privilege separation is set to yes by default since OpenSSH 3.3. However, this requires a non-privileged account called 'sshd'. For more info on privilege separation read /usr/share/doc/openssh/README.privsep. Should privilege separation be used? (yes/no) yes Generating /etc/sshd_config file Host configuration finished. Have fun! +--------------------------------------------------------------------------------+ 3. 提示安裝成功. 輸入net start sshd, 啟動(dòng) ssh服務(wù). +--------------------------------------------------------------------------------+ admin@valley ~ $ net start sshd CYGWIN sshd 服務(wù)正在啟動(dòng) . CYGWIN sshd 服務(wù)已經(jīng)啟動(dòng)成功。 +--------------------------------------------------------------------------------+ 4. 在SecureCRT設(shè)置一個(gè)Sessions, 協(xié)議 ssh. 用戶名: windows 的 登錄用戶名 口令: windows 的 登錄用戶密碼 Terminal.Emulation 勾上 ANIS Color. Terminal.Appearance 中選下風(fēng)格, 字體. -------------- over --------------------- 大功告成! +--------------------------------------------------------------------------------+ admin@valley /cygdrive/c $ ls -F AUTOEXEC.BAT* Documents and Settings/ Program Files/ System Volume Information/ cmd.txt* menu.txt.bak* response.txt* BOOT.INI* IO.SYS* Python25/ WINDOWS/ cygwin/ ntldr* tmp/ CONFIG.SYS* MSDOS.SYS* RECYCLER/ bak/ dell/ oracle/ Dev-Cpp/ NTDETECT.COM* RavBin/ bootfont.bin* menu.txt* pagefile.sys +--------------------------------------------------------------------------------+ 參考: http://blog./7026/viewspace-637 http://islue./search/label/cygwin |
|