13,420
edits
Changes
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 basic commands to upload and download files between servers are <b><code><span style="color:#3366CC;font-size:1.2em;">put</span></code></b> and <b><code><span style="color:#3366CC;font-size:1.2em;">get</span></code></b> respectively.
# Try using '''sftp''' to transfer files back and forth between hosts.