SCP and SSH Remote Linux

1). "ssh -l username IPaddress":- This command provides a secure shell login to a remote machine. The "-l" this is small "L", which specifies the user to login as on remote machine.

ssh -l w3clan 127.0.0.1

2). "scp source_filename username@IPaddress:destination_filename" :- This command (Secure Copy Protocol) provides the means to copy files from localhost to remote machine. Example with code

// To Send / Upload File 

scp w3box.txt w3clan@192.168.0.1:w3box.txt

// To Download File

scp w3clan@192.168.0.1:/root/filename.zip /home/

Loading ...

Related Results :

  1. SCP and SSH Remote Linux
Note :
  • Related Posts are generally User Blog posts.
  • or Other tutorials from other networks of w3clan.com.
  • Any registered user can create related posts based on search term tags.

About the Author