Remote Use of ITC Resources
有三种服务器用于远程使用ITC资源:login、rainbow和linux (login.28277cc.com, rainbow.28277cc.com, and linux.28277cc.com respectively). You can remotely 登录到这些服务器中的任何一个以访问/管理您的ITC帐户上的文件. 下面的说明给出了如何在Windows和Mac/Linux/Chromebook上进行此操作的示例.
通过Windows访问/编辑远程ITC文件和文件夹的最简单方法之一 是使用一个名为WinSCP的程序(安装可在 http://winscp.net/eng/download.php; click Installation package.)
该程序的安装指南可在 http://winscp.net/eng/docs/guide_install. 在安装WinSCP时,您很可能会选择两个窗口 本地和一个远程安装选项,这将把程序的Windows分成 two sub windows. 左边的将显示您的本地(个人电脑)文件 and folders. 右边的显示您的远程(ITC)文件和文件夹.
当您第一次运行WinSCP或启动一个新会话(可在 Session 菜单),您将被要求连接到主机和端口, 使用文件协议、用户名和密码. To access your ITC files, the host name will be either rainbow.28277cc.com or login.28277cc.com. Your username is your ITC username. Your password is your ITC password. Don’t change the default port or file transfer protocol.Remote access:
假设您输入了正确的信息,您很可能会看到一个警告 就像这个,特别是如果你第一次连接到rainbow或login time.
如果RSA密钥指纹的值就是所列的值 here, then click Yes.
将出现显示本地和远程文件的两个窗口. Right clicking on a remote file will give you the option to download it to your local computer; right 点击一个本地文件将会给你类似的上传文件的选项 the remote computer. 如果您尝试使用WinSCP编辑任何远程文件,除非 they are a pure text file (.TXT扩展名或类似),您将无法阅读 the contents. 因此,建议您下载所需的任何文件 到您的本地计算机上,然后在您需要时重新上载到您的ITC帐户 are done.
当您想退出远程访问时,请单击 Session menu at the top of the screen and click Disconnect Session.
更多关于WinSCP的信息,请访问 http://winscp.net/eng/docs/guides,包括如何开始使用该程序的帮助.
Remote access:
要从个人Mac或Linux或Chromebook电脑访问您的ITC帐户文件, you can use ssh and our rainbow server. 注意,您将能够查看您的文件 和文件夹,但只能通过终端(不是GUI或图形用户界面).
Open a terminal (Chromebook is Cntrl. + Alt + T) and enter the following command
ssh -l
where
当您第一次使用ssh连接到ITC服务器时,您可能会看到一条消息 that looks like this:
The authenticity of host 'linux (129.138.2.218)' can't be established.
RSA密钥指纹为09:49:48:42:82:6b: b9:2e: 40: e2: b7:3a: 9 c: 42:6f: 92.
您确定要继续连接吗(是/否)?
如果RSA密钥指纹的值就是所列的值 here, then answer Yes. A line will be added to your .ssh/known_hosts 文件中使用当前安全密钥,以证明您已验证了身份 of that server.
如果您已经在您的 .ssh/known_hosts 文件,你第一次连接到ITC的周期性重新配置后, you will see a warning something like this:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@警告:远程主机标识已更改! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
有人可能在做一些令人讨厌的事情!
有人可能正在窃听你(中间人攻击)!
也有可能RSA主机密钥刚刚被更改.
远端主机发送的RSA密钥指纹为
09:49:48:42:82:6b: b9:2e: 40: e2: b7:3a: 9 c: 42:6f: 92.
Please contact your system administrator.
Add correct host key in /u/
Offending key in /u/
RSA host key for
Host key verification failed.
where
如果RSA密钥指纹的值就是所列的值 here, then you are connecting to a real ITC server. To get rid of the message shown above, edit your.ssh/known_hosts 文件中,找到以服务器名称开头的行,并删除它. (If you are 不确定编辑此文件需要哪些工具,请与 Help Desk at 575-835-5700 or help@28277cc.com).
Then ssh back in and answer Yes to the question as in the example above.
File transfer
为了完成任何scp(安全复制)操作,您很可能需要 在某个时候提供您的ITC帐户密码.
ITC to personal computer
将文件从ITC账户转移到个人Mac或Linux电脑(反之亦然), you can use scp. 与ssh一样,您需要使用终端来执行此操作.
在登录时将文件从您的ITC帐户移动到个人计算机 personal computer, the command is
scp
where
例如,用户Bob移动文件hello.txt from /u/bob/Documents/Hello (on 到/u/ bobsmmachine /Desktop(在个人电脑上),Bob会这样写 the command
scp bob@rainbow.28277cc.com: /u/bob/Documents/Hello/hello.txt /u/bobsmachine/Desktop
Personal computer to ITC
将文件从个人Mac或Linux计算机(您登录到您的 ITC account, the command is
scp
where
例如,用户Bob移动文件hello.txt back from the personal computer (/u/ bobsmmachine /Desktop)转到原先在ITC账户(/u/bob/Documents/Hello)上的位置, Bob would write the command
scp /u/bobsmachine/Desktop/hello.txt bob@rainbow.28277cc.com: /u/bob/Documents/Hello