Connections from the User Workstation to the User Support Servers
"ssh", "sftp", and "scp" commands are available for the connection between the User Workstation and user support servers. All of the Unix-like workstations provide "ssh" service. Users can access the servers and Unix-like workstations with the same "ssh" procedure.
- Logging into cluster servers
- File transportation between the workstation and the servers by sftp
- File transportation between the workstation and the servers by scp
Logging into cluster servers
ssh command
The first time you access a remote host, you should confirm whether you are sure you want to connect to the host or not. Type yes and the RSA key of the host is enrolled in the file home directory/.ssh/known_hosts. The second time or later, a spoofing remote machine with a falsified DNS can be detected with key matching. If such case occurs, ssh shows a warning message to users.
File transportation between the workstation and the servers by sftp
Putting a file to cluster servers ("put" command)
To upload a file to the remote host, use the "put" command. If you drop the file name of the remote host, the local file name is used for the remote file. If the name is already used at the remote host, the remote file is overwritten. A directory cannot be uploaded recursively.
[Example]
test.c 100% 5 2.0KB/s 00:00
sftp>
Downloading a file to the local host ("get" command)
To download a file from the cluster servers into the local host, use the get command. If you drop the file name of the local host, the remote file name is used as the local file name. If the name is already used at the local host, the local file is overwritten. A directory cannot be downloaded recursively.
[Example]
test2.c 100% 6 6.5KB/s 00:00
sftp>
sftp termination ("bye", "exit", "quit")
To terminate sftp mode, type bye, exit or quit.
$
When you quit normally, you return to command mode.
File transportation between the workstation and the servers by scp
Putting a file to cluster servers
To transfer a local file to the remote machine, specify the IP address of the remote host. If you drop the remote path, the file is transferred to the remote home directory. If the file name is already used at the remote host, the remote file is overwritten.
Putting a directory to cluster servers
To transfer a local directory to the remote machine, specify "-r" option. If the directory name is already used at the remote host, the remote directory is overwritten.


