You are here:
CLASSE Wiki
>
CHESS Web
>
Sop-comp-002
(11 May 2017, ljs30)
Edit
Attach
Tags
C
ornell
H
igh
E
nergy
S
ynchrotron
S
ource
Doc#:
SOP-COMP-002
Procedure:
Remote Access and File Transfer
Prepared by:
ZB
Rev.:
1
Revision Date:
06/02/12
Date Effective:
06/02/12
Date Expires:
06/02/13
Approved by:
ZB
Purpose
To establish remote access to a CHESS Linux terminal and transfer files.
Materials and Equipment Needed
CHESS Private Network Control Computer (remote)
CHESS Public Network Computer (local)
SSH Client (Windows)
SFTP Client (Windows)
Safety
Safety Issues: none
Procedure
Remote Access
Windows:
Double-click icon for ssh client to open (ex:
SSH Secure Shell
,
putty
).
Click
[Quick Connect]
to open connection dialog. (
Fig. 1
)
Type the hostname of the remote computer (ex: a1, ops1, roll) in Host Name entry box. (
Fig. 2
)
Type the username in User Name box.
Click
[Connect]
to connect to remote host username@remotehost.
Enter password when prompted.
Client terminal window is now an active terminal on the remote host.
Click
[Disconnect]
when finished to close the connection.
Linux:
Open new terminal.
Type <ssh username@remotehost.chess.cornell.edu>, where remotehost is the name of the remote computer (ex: a1, ops1, roll).
New line in terminal window should now show the remote host information.
Type <exit> when finished to close the connection.
File Transfer
Windows
Double-click icon for ssh client to open (ex:
SSH Secure File Transfer
).
Click
[Quick Connect]
to open connection dialog. (
Fig. 3
)
Type the hostname of the remote computer (ex: a1, ops1, roll) in Host Name entry box. (
Fig. 2
)
Type the username in User Name box.
Click
[Connect]
to connect to remote host username@remotehost.
Enter password when prompted.
File Browser on left shows local directory. File Browser on right shows remote directory.
Drag files between browsers to transfer files.
Click
[Disconnect]
when finished to close the connection.
New folders can be created on remote or local host by clicking the New Folder button located above respective File Browser.
Directories can be refreshed by clicking the Refresh button.
Return to the home directory by clicking the Home button.
Linux
Open a new terminal.
Type <sftp username@remotehost.chess.cornell.edu>, where remotehost is the name of the remote computer (ex: a1, ops1, roll).
Type <get remote_file local_file> to transfer a source file from the remote computer to the destination file on the local computer.
remote/local_file can either be the file name in the working directory, or /path/filename if file is located outside of working directory.
Type <pwd> to print working directory.
Type <ls> to show which files are available in working directory.
Type <put local_file remote_file> to transfer a source file from the local computer to the destination file on the remote computer.
remote/local_file can either be the file name in the working directory, or /path/filename if file is located outside of working directory.
Type <pwd> to print working directory.
Type <ls> to show which files are available in working directory.
NOTE: if second argument is left out of get/put commands, the file name will be the same.
Type <exit> when finished to close the connection.
Figures
Figure 1 Â SSH Secure Shell window
Figure 2 Â Hostname/username Window
Figure3 Â SSH Secure File Transfer window (with Directory controls highlighted)
References
None.
Revision History
Rev. 1 Â Initial document (06/02/12 - ZB)
--
LeeShelp
- 21 Apr 2017
Attachments
($count)
Show options
Search:
Sort by:
Name
Date
Author
Size
Type
Results per page:
6
12
24
48
all
Display hidden:
786f4f97cd7f237f279c6670fd3589d9.jpeg
(19.17 KB)
Auto-attached by ImagePlugin
11 May 2017 - 14:36 | Version 1 | ljs30
f36454212017f6f346f0d2a248b30afe.jpeg
(13.42 KB)
Auto-attached by ImagePlugin
11 May 2017 - 14:36 | Version 1 | ljs30
6c8a86a2be514ee2421fee80882e4f22.jpeg
(13.01 KB)
Auto-attached by ImagePlugin
11 May 2017 - 14:36 | Version 1 | ljs30
More actions
Create link(s)
Embed
Create image gallery
Download
Hide
Unhide
Move
Delete
0
attachment(s)
Select all
Clear all
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew wiki text
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r2 - 11 May 2017, ljs30
CHESS
Home Page
RemoteDataAccess
Private CHESS Wiki
Log In
Toolbox
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CLASSE Wiki?
Send feedback