Read file://\\Nc31\nabedata\website-internal\manual\WinGateway.html text version

Windows Gateway

Windows Gateway

Windows GatewayLinux Server Windows

Cygwin C:\cygwin UltraVNC Server/Viewer C:\Program Files\UltraVNC TeraTermPro C:\Program Files\teraterm ffftp C:\Program Files\ffftp winSCP C:\Program Files\WinSCP C:\Documents and Settings\Administrator\My Documents\apps

Cygwin

CygwinWindowsUNIXWindows Gateway Cygwin CygwinC:\cygwin Cygwin/home/beowulfWindows C:\cygwin\home\beowulf WindowsCygwinbeowulf 1. beowulfWindows 2. AdministratorCygwin [email protected] ~ $ mkpasswd -l > /etc/passwd [email protected] ~ $ mkgroup -l > /etc/group

1/15

WindowsCygwin beowulfWindowsCygwin /home Copying Skeleton files. These files are for the user to personalise their cygwin experience. These will never be overwritten. `./.bashrc` -> `/home/beowulf//.bashrc` `./.bash_profile` -> `/home/beowulf//.bash_profile` `./.inputrc` -> `/home/beowulf//.inputrc` [email protected] ~ $ X CygwinX Cygwinstartxxterm1 ExitX

XWindowsCygwin X X CygwinWindows C:\cygwin\usr\X11R6\bin\startxwin ExitX

WindowsWindows Gateway

UltraVNCCygwin sshd2Windows Windows WindowsXPWindows

2/15

UltraVNC Windows GatewayUltraVNC ServerWindows UltraVNC ViewerWindows Gateway Windows GatewayCygwinLinux ServerWindows Linux Server Windows Gateway UltraVNC UltraVNCWindows Windows GatewayUltraVNC Vewer 1. web(stable1.0.2) http://www.uvnc.com/ 2. setupAdditional Tasks URL http://www.uvnc.com/install/installation.html UltraVNC Viewer 1. UltraVNC Viewer 2. VNC Server()Windows GatewayIPConnect IP:5900

3. Windows GatewayVNC Server(beowulf)OK 3/15

Windows Gateway

4. UltraVNC Viewer Windows GatewayUltraVNC Viewer Cygwin sshd Windows GatewaysshWindows sshWindowsCygwinTeraTermssh Windows Gatewayssh Windows GatewaysshWindows 1. Administrator-- 2. CYGWIN sshd-() 3. -() AdministratorCygwin ssh [email protected] ~ $ cygrunsrv -S sshd ssh [email protected] ~ $ cygrunsrv -E sshd -Q [email protected] ~ $ cygrunsrv -Q sshd 4/15

Service : sshd Display name : CYGWIN sshd Current State : Running Controls Accepted : Stop Command : /usr/sbin/sshd -D Windows XPWindows WindowsWindows Gateway 1. Windows Gateway Windows Gateway --- 2. -- Windows GatewayIP Windows

Linux Server Windows Gateway

Windows GatewayLinux Server2 Tera Term ProCygwin SSHTelnet2SSH Tera Term Pro C:\Program Files\teraterm Cygwin C:\cygwin Tera Term ProSSH 1. Tera Term Pro 2. Linux ServerOK

5/15

3. Linux ServerOK

Tera Term ProTelnet 1. Tera Term Pro 2. Linux ServerServiceSSHTelnetOK

6/15

3. Linux Server

CygwinSSH ssh [email protected] ~ $ ssh [email protected] [email protected]'s password: Last login: Wed Aug 8 16:33:26 from192.168.255.200 [[email protected] ~]$ CygwinTelnet telnet

7/15

[email protected] ~ $ telnet 192.168.255.200 Trying 192.168.255.200... Connected to 192.168.255.200. Escape character is '^]'. OS version Kernel 2.6.9-55.0.2.ELsmp on an x86_64 login: beowulf Password: Last login: Wed Aug 8 16:33:26 from192.168.255.101 [[email protected] ~]$

Windows GatewayLinux File Server

Windows GatewayLinux File ServerGUI2 FTPffftpSSHwinSCPSSH GUICygwinFTP SSHSCPLinux File ServerSamba Samba ffftp Windows GatewayffftpFTPLinux File ServerGUI Linux File Server 1. 2. beowulfLinux File Server(fs000) Windows Gateway

8/15

3. 4. (Linux File Server)IP 5. (Windows Gateway) C:\Program Files\ffftp 6. 7. OK 8.

Linux File ServerWindows Gateway 1. ()

2. ) 3. 9/15

4. Windows GatewayLinux File Server 1. 2. ) 3. winSCP winSCP3sshftp Windows GatewaywinSCPLinux File ServerSSHGUI Linux File Server 1. beowulfLinux File Server(fs000) NewEdit Windows Gateway

2. Hostname(Linux File Server)IPUser name

10/15

3. Save 4. Login 5. OK rsa-key Yes 6.

Linux File ServerWindows Gateway 1. ()

11/15

2. 3. Copy "transfer on background(add to transfer queue)" 4. ) Copy Windows GatewayLinux File Server 1. 2. 3. Copy "transfer on background(add to transfer queue)" 4. ) Copy OptionsPreferences Samba sambalinux smbpasswd samba linuxbeowulfsambasmbpasswd samba nabeint [[email protected] ~]# smbpasswd -a beowulf New SMB password: Retype new SMB password: smbpasswd 12/15

[[email protected] manyfiles]# smbpasswd -h When run by root: smbpasswd [options] [username] otherwise: smbpasswd [options] options: -L local mode (must be first option) -h print this usage message -s use stdin for password prompt -c smb.conf file Use the given path to the smb.conf file -D LEVEL debug level -r MACHINE remote machine -U USER remote username extra options when run by root or in local mode: -a add user -d disable user -e enable user -i interdomain trust account -m machine trust account -n set no password -w PASSWORD ldap admin password -x delete user -R ORDER name resolve order Cygwinftp Cygwinftp ftp(Linux) [email protected] $ ftp 192.168.255.100 Connected to 192.168.255.100. 220 (vsFTPd 2.0.5) Name (192.168.255.100:beowulf): beowulf 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ftp helpftp ls Linux File ServerWindows Gateway 13/15

Linux File ServerWindows Gatewayget ftp> get filename dirname/filename 200 PORT command successful. Consider using PASV. 150 Opening BINARY mode data connnection for filename (5496 bytes). 226 File send OK. 5496 bytes received in 0.01 seconds (5496 bytes/s) ftp> filenameCygwin /home/yukie/dirname/filename Windows GatewayLinux File Server Windows GatewayLinux File Serverput ftp> put dirname/filename filename2 200 PORT command successful. Consider using PASV. 150 Ok to send data. 226 File receive OK. 5496 bytes sent in 0.01 seconds (5496 bytes/s) ftp> dirname/filename filename2 mgetmput mgety ftp> mget filename filename2 mget filename? y 200 PORT command successful. Consider using PASV. 150 Opening BINARY mode data connnection for filename (5496 bytes). 226 File send OK. 5496 bytes received in 0.01 seconds (5496 bytes/s) mget filename2? y 200 PORT command successful. Consider using PASV. 150 Opening BINARY mode data connnection for filename2 (8511 bytes). 226 File send OK. 5496 bytes received in 0.01 seconds (8511 bytes/s) ftp> prompt ftp> prompt Interactive mode off. off ftp Cygwinscp

14/15

Cygwinscp scp [file1] [file2] fileLinux File ServerWindows Gateway Linux File Server Linux fs000(192.168.255.200)/home/beowulf/filenameWindows Gateway [email protected] ~ $ scp [email protected]:filename . [email protected]'s password: filename 100% 5496 5.4KB/s 00:00 -r [email protected] ~ $ scp -r [email protected]:scptest dirname [email protected]'s password: filename 100% 5496 5.4KB/s 00:00 filename2 100% 37MB 3.1MB/s 00:10 Linux File Server/home/beowulf/scptest (filename,filename2)Windowsdirname dirname

Copyright © 2007

15/15

Information

file://\\Nc31\nabedata\website-internal\manual\WinGateway.html

15 pages

Report File (DMCA)

Our content is added by our users. We aim to remove reported files within 1 working day. Please use this link to notify us:

Report this file as copyright or inappropriate

148191


Notice: fwrite(): send of 197 bytes failed with errno=104 Connection reset by peer in /home/readbag.com/web/sphinxapi.php on line 531