Index:Beginner Articles/he

From SHellium Wiki
Jump to: navigation, search
Geographylogo.png In other languages: English | Afrikaans | Albanian | Arabic | Brazilian | Bulgarian | Catalan | Chinese | Croatian | Czech | Danish | Dutch | Esperanto | Estonian | Filipino | Finnish | Flemish | French | German | Greek | Hebrew | Hindi | Hungarian | Indonesian | Italian | Japanese | Latvian | Lithuanian | Macedonian | Malay | Malayalam | Norwegian (Bokmål) | Norwegian (Nynorsk) | Persian | Polish | Portuguese | Romanian | Russian | Serbian | Slovak | Slovenian | Spanish | Swedish | Turkish | Ukrainian | Urdu



== Transfering your files with SCP ==

For transfering your local files to a remote server running SSH, you must do the following:

$ scp <local_file> foobar@someserver.com:

The above command would transfer <local_file> to the home directory of foobar.

Another example:

$ scp <local_file1> <local_file2> foobar@someserver.com:/tmp

The above command would upload local_file1 and local_file2 to the /tmp diretory of someserver.com.

The SSH daemon in the yunix server listen on port 666, so if you want to upload something to this server you'll need to specify the port number where the sshd is running (the default port is 22), this could be achieved as follow:

$ scp -P 666 <local_file> foobar@yunix.net:

Connect to port 666 and transfer <local_file> to the home directory of foobar.

[edit] Help If you have trouble with SCP try to comment (by inserting # at the beginning of line) the lines containing 'echo' at the beginning of your .bashrc file or use the Windows-based WinSCP.

Personal tools
Namespaces

Variants
Actions
Navigation
Indexes
SHellium Sites
Toolbox