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

ssh command

ssh [IP address of the remote machine]

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.

Top of this page Page top

File transportation between the workstation and the servers by sftp

sftp [IP address of the remote machine]

Putting a file to cluster servers ("put" command)

sftp> put [file name of the local host] [file name of the remote host]

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]
sftp> put test.c
test.c 100% 5 2.0KB/s 00:00
sftp>

Downloading a file to the local host ("get" command)


sftp> get [file name of the Sun machine] [file name of the local host]

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]
sftp> get test2.c
test2.c 100% 6 6.5KB/s 00:00
sftp>

sftp termination ("bye", "exit", "quit")

To terminate sftp mode, type bye, exit or quit.

sftp> bye
$

When you quit normally, you return to command mode.

Top of this page Page top

File transportation between the workstation and the servers by scp

scp [Option] [Transferred file name] [IP address of the machine:path]

Putting a file to cluster servers

scp [Transferred file name] [IP address of the remote machine:path]

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

scp [Option] [Transferred directory name] [IP address of the remote machine:path]

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.

Top of this page Page top