x - working with vonneumann
connecting to vonneumann
- outside university network, need to
sshinto hammer
>> ssh phusqk@hammer.scrtp.warwick.ac.uk
- should show
[phusqk@vulcan3 ~]$if successful
>> ssh phusqk@vonneumann.csc.warwick.ac.uk
- should show
[phusqk@vonneumann ~]$if successful
transferring files to vonneumann
- home directory,
/home/physics/phusqk, shortcut is~
>>cd ~
>>pwd
/home/physics/phusqk
-
for this module, created
px390, withcodewhere all c files will go -
log out of
vonneumannor use another terminal -
cdto the directory with the file, eg:myprog.c
>> scp ./myprog.c phusqk@vonneumann.csc.warwick.ac.uk:~/PX390/code
myprog.c 100% 2221 180.7KB/s 00:00
-
the file should be in
vonnewumannat~/PX390/code -
for outside university network, file needs to be sent to
hammer:
>> scp ./myprog.c phusqk@hammer.scrtp.warwick.ac.uk:~/px390/code/
Enter passphrase for key 'C:\Users\sujay/.ssh/id_rsa':
myprog.c 100% 2221 180.7KB/s 00:00
- files in
hammerare also invonnumann
transferring files to local
- on your local pc, go to the directory you want to copy the file to
>> scp phusqk@vonneumann.csc.warwick.ac.uk:~/px390/code/myptog.c ./
myprog.c 100% 683KB 7.4MB/s 00:00
- outside university network:
>> scp phusqk@hammer.scrtp.warwick.ac.uk:~/px390/code/myptog.c ./
Enter passphrase for key 'C:\Users\sujay/.ssh/id_rsa':
myprog.c 100% 683KB 7.4MB/s 00:00