![英雄的形象](/_resources/img/photos/heroimages/NMTGenericHero.png)
远程使用ITC资源
T在这里 are three servers for the remote use of ITC resources: 登录, 彩虹, 和 linux (登录.chamanmt.com,彩虹.nmt.Edu和Linux.chamanmt.com). 你可以远程 登录 to any one of these servers to access/manage the files on your ITC account. 的 instructions below give an example of how to do this on 窗户 和 Mac / Linux / Chromebook.
One of the easiest ways to access/编辑你的 remote ITC files 和文件夹 via 窗户 is to use a program call WinSCP (installation available at http://winscp.net/eng/download.php; c舔 安装包.)
An installation guide for the program is available at http://winscp.net/eng/docs/guide_install. When installing WinSCP, you will most likely want to choose the two windows, one local 和 one remote, install option, which will split the program’s windows into 两个子窗口. 的 one on the left will show your local (personal computer) files 和文件夹. 的 one on the right will show your remote (ITC) files 和文件夹.
When you first run WinSCP or start a new session (available in the 会话 menu at the top of the screen), you will be asked to connect to a host 和 port, using a file protocol, username, 和 password. 要访问您的ITC文件,主机 名字将是 彩虹.chamanmt.com or 登录.chamanmt.com. 您的用户名是您的ITC用户名. 您的密码就是您的ITC密码. 不改变 默认端口或文件传输协议.远程访问:
假设你输入 in your information correctly, chances are you will see a warning like this one, particularly if you are connecting to 彩虹 or 登录 for the first time.
If the value of the RSA key fingerprint is the one listed 在这里,则c舔 是的.
的 two windows showing your local 和 remote files will appear. 右键点击 a remote file will give you the option to download it to your local computer; right c舔ing on a local file will give you the similar option of uploading that file to 远程计算机. If you try to edit any of your remote files using WinSCP, unless 它们是纯文本文件(.txt extension or similar), you will be unable to read 内容. For that reason, it is recommended that you download any file you wish to work on to your local computer 和 then reupload it to your ITC account when you 完成.
When you want to log out of remote access, c舔 on the 会话 在屏幕顶部的菜单中单击 断开会话.
More information about WinSCP can be found at http://winscp.net/eng/docs/guides, including help on how to get started using the program.
远程访问:
To access your ITC account files from a personal Mac or Linux or Chromebook computer, 您可以使用SSH和我们的彩虹服务器. Note that you will be able to view your files 和 folder, but only via a terminal (not a GUI or Graphical User Interface).
打开终端(Chromebook是ctrl). + Alt + T),输入如下命令
ssh -l
在哪里
When you first use ssh to connect to an ITC server, you will probably see a message 它看起来像这样:
主机linux的真实性(129).138.2.’不能成立.
RSA key fingerprint is 09:49:48:42:82:6b:b9:2e:40:e2:b7:3a:9c:42:6f:92.
Are you sure you want to continue connecting (yes/no)?
If the value of the RSA key fingerprint is the one listed 在这里,然后回答 是的. 一行将被添加到您的 .ssh / known_hosts file with the current security key, to certify that you have verified the identity 那台服务器.
If you already have such a line for a given server in your .ssh / known_hosts file, the first time you connect t在这里 after one of ITC's periodic reconfigurations, 你会看到类似这样的警告:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
的 fingerprint for the RSA key sent by the remote host is
09:49:48:42:82:6b:b9:2e:40:e2:b7:3a:9c:42:6f:92.
请与系统管理员联系.
Add correct host key in /u/
Offending key in /u/
RSA host key for
主机密钥验证失败.
在哪里
If the value of the RSA key fingerprint is the one listed 在这里, 那么您就连接到一个真正的ITC服务器. 要去掉上面显示的信息, 编辑你的.ssh / known_hosts file, find the line that starts with the server's name, 和 delete it. (如果你是 not sure what tools you need to edit this file, contact the 帮助台 电话:575-835-5700 help@chamanmt.com).
然后回车并回答 是的 对于上面例子中的问题.
文件传输
In order to complete any scp (secure copy) operation, you will most likely need to provide your ITC account password at some point.
创新科技中心转向个人电脑
To move files from a ITC account to a personal Mac or Linux computer (or visa versa), 你可以使用SCP. Like ssh, you will need to use a terminal for this.
To move files from your ITC account to a personal computer while logged on to that 个人电脑,命令是
scp
在哪里
For example, for user Bob to move the file hello.. txt从/u/bob/Documents/中读取 a ITC machine) to /u/bobsmachine/Desktop (on a personal computer), Bob would write 命令
scp bob@彩虹.chamanmt.com: / u / bob /文档/ Hello /你好.txt / u / bobsmachine /桌面
个人电脑送交创新科技中心
To move files from a personal Mac or Linux computer 在哪里 you are logged in to your ITC帐号,命令为
scp
在哪里
For example, for user Bob to move the file hello.从个人电脑传回TXT文件 (/u/bobsmachine/Desktop) to 在哪里 it had been on the ITC account (/u/bob/Documents/Hello), 鲍勃会写这个命令
scp / u / bobsmachine /桌面/你好.txt bob@彩虹.chamanmt.com: / u / bob /文件/你好