Changes

Jump to: navigation, search

OPS235 Lab 7

45 bytes removed, 08:52, 28 June 2016
no edit summary
# Open a terminal, and remain logged in as a regular user.
# Establish an sftp session with your centos3 VM by issuing the following command:<br /><b><code><span style="color:#3366CC;font-size:1.2em;">sftp ops235@centos3</span></code></b>
# Type <b><code><span style="color:#3366CC;font-size:1.2em;">help</span></code></b> to see the list of sftp commands at any time.<br><br>Common '''Remote Server ''' (eg. '''centos3''') commands: '''pwd''', '''ls''', '''cd'''<br>Common '''Local Machine ''' (eg. '''centos1''') commands: '''!pwd''', '''!ls''', '''lcd'''<br><br># The 2 main basic commands to upload and download files between servers are <b><code><span style="color:#3366CC;font-size:1.2em;">put</span></code></b> to copy a file from the local host to the remote host (upload) and <b><code><span style="color:#3366CC;font-size:1.2em;">get</span></code></b> to copy a file from the remote host to the local host (download)respectively.
# Try using '''sftp''' to transfer files back and forth between hosts.
# Confirm that the files were transfer and then enter the command '''exit''' to quit your sftp session.
13,420
edits

Navigation menu