Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to transfer files from UNIX to my own Hard drive storage? Post 302157056 by lucsan on Thursday 10th of January 2008 01:03:11 AM
Old 01-10-2008
How to find details of user@host1

Smilie

TETimer (2008-01-10 05:26:40): (31003): Successfully attached to shared memory
[tesysop@FEXSYDNEY Scheduled]$ scp
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2

Can someone advice how I can find details about the user@host1 on my PC (with OS - windows XP)
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

seperate hard drive for unix & x windows

thanks for your help, i didnt realise you could download the operating system from sun.com:D Ive just had a new hard drive installed 20 GIG for unix and x windows. How can i connect this hard drive for unix and x windows only? and are there any helpful tutorials for starters?? Many thanks (4 Replies)
Discussion started by: jeffersno1
4 Replies

2. UNIX for Dummies Questions & Answers

Wiping UNIX Hard Drive

Hello all, Maybe someone can help? Please?!?!? How do I wipe a UNIX hard drive, For dos I use Norton. Is there something like that for UNIX. I am just barley understanding UNIX, so please forgive my ignorance. Also, is there a government approved method of sanitization? Thanks (10 Replies)
Discussion started by: rocky123
10 Replies

3. UNIX for Advanced & Expert Users

Formatting hard drive from Unix to Windows

Can a hard drive be formatted from unix server to windows 2000 professional? (4 Replies)
Discussion started by: howarddtp
4 Replies

4. UNIX for Dummies Questions & Answers

How do copy certain files and directories from one hard drive to another?

I have two drives (scsi) mounted on one server and I need to copy certain files and directories from one drive to the other. Any suggestions :confused: (4 Replies)
Discussion started by: shorty
4 Replies

5. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

6. UNIX for Advanced & Expert Users

format unix hard drive on windows xp

Hello, How is it possible to copy the partition of hard drive that have unix on it (it's a scsi hard drive of an Irix (SGI)), under windows xp - what I did till now is to connect the drive to the my pc (windows xp installed) with a scsi adapter and the program partition magic can't recognize the... (2 Replies)
Discussion started by: moyalt
2 Replies

7. Shell Programming and Scripting

ftp from hard drive to unix server

i want to ftp a flat file from my local harddrive to the unix server box. Can anybody send me the command. Thanks (6 Replies)
Discussion started by: dummy_needhelp
6 Replies

8. Shell Programming and Scripting

help transferring tar files from cdrom to hard drive

alright guys, this is a pretty noob question but I need a script that will take a tarred folder "Animals" from cd and copy and extract it to replace an existing folder on hard drive called "Animals". (to give us more variations for another program which we don't need to worry about here), take the... (1 Reply)
Discussion started by: hootdocta5
1 Replies

9. UNIX for Dummies Questions & Answers

Installing UNIX and booting from External Hard Drive

Hello I have a new project being kicked off next month and i should learn UNIX fast. I have never used UNIX before so i have the following questions: 1) Is any UNIX free to install? 2) Can i install and boot UNIX from an External Hard Drive (The system board on my laptop crashed so i took the... (2 Replies)
Discussion started by: pipsonian
2 Replies

10. Shell Programming and Scripting

Unix server to Hard-drive connected on the machine

Hi, I have an external hard drive connected to my iMac. I am logged into a Linux_x86_64 server. Now, if I want to download files directly to the hard drive, is there a way to do it. Currently, I am chasing cyberduck to download content to the hard drive. (3 Replies)
Discussion started by: jacobs.smith
3 Replies
SCP(1)                                                      BSD General Commands Manual                                                     SCP(1)

NAME
scp -- secure copy (remote file copy program) SYNOPSIS
scp [-346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2 DESCRIPTION
scp copies files between hosts on a network. It uses ssh(1) for data transfer, and uses the same authentication and provides the same secu- rity as ssh(1). scp will ask for passwords or passphrases if they are needed for authentication. File names may contain a user and host specification to indicate that the file is to be copied to/from that host. Local file names can be made explicit using absolute or relative pathnames to avoid scp treating file names containing ':' as host specifiers. Copies between two remote hosts are also permitted. The options are as follows: -3 Copies between two remote hosts are transferred through the local host. Without this option the data is copied directly between the two remote hosts. Note that this option disables the progress meter. -4 Forces scp to use IPv4 addresses only. -6 Forces scp to use IPv6 addresses only. -B Selects batch mode (prevents asking for passwords or passphrases). -C Compression enable. Passes the -C flag to ssh(1) to enable compression. -c cipher Selects the cipher to use for encrypting the data transfer. This option is directly passed to ssh(1). -F ssh_config Specifies an alternative per-user configuration file for ssh. This option is directly passed to ssh(1). -i identity_file Selects the file from which the identity (private key) for public key authentication is read. This option is directly passed to ssh(1). -l limit Limits the used bandwidth, specified in Kbit/s. -o ssh_option Can be used to pass options to ssh in the format used in ssh_config(5). This is useful for specifying options for which there is no separate scp command-line flag. For full details of the options listed below, and their possible values, see ssh_config(5). AddressFamily BatchMode BindAddress CanonicalDomains CanonicalizeFallbackLocal CanonicalizeHostname CanonicalizeMaxDots CanonicalizePermittedCNAMEs CertificateFile ChallengeResponseAuthentication CheckHostIP Ciphers Compression ConnectionAttempts ConnectTimeout ControlMaster ControlPath ControlPersist GlobalKnownHostsFile GSSAPIAuthentication GSSAPIDelegateCredentials HashKnownHosts Host HostbasedAuthentication HostbasedKeyTypes HostKeyAlgorithms HostKeyAlias HostName IdentitiesOnly IdentityAgent IdentityFile IPQoS KbdInteractiveAuthentication KbdInteractiveDevices KexAlgorithms LogLevel MACs NoHostAuthenticationForLocalhost NumberOfPasswordPrompts PasswordAuthentication PKCS11Provider Port PreferredAuthentications ProxyCommand ProxyJump PubkeyAcceptedKeyTypes PubkeyAuthentication RekeyLimit SendEnv ServerAliveInterval ServerAliveCountMax StrictHostKeyChecking TCPKeepAlive UpdateHostKeys UsePrivilegedPort User UserKnownHostsFile VerifyHostKeyDNS -P port Specifies the port to connect to on the remote host. Note that this option is written with a capital 'P', because -p is already reserved for preserving the times and modes of the file. -p Preserves modification times, access times, and modes from the original file. -q Quiet mode: disables the progress meter as well as warning and diagnostic messages from ssh(1). -r Recursively copy entire directories. Note that scp follows symbolic links encountered in the tree traversal. -S program Name of program to use for the encrypted connection. The program must understand ssh(1) options. -v Verbose mode. Causes scp and ssh(1) to print debugging messages about their progress. This is helpful in debugging connection, authentication, and configuration problems. EXIT STATUS
The scp utility exits 0 on success, and >0 if an error occurs. SEE ALSO
sftp(1), ssh(1), ssh-add(1), ssh-agent(1), ssh-keygen(1), ssh_config(5), sshd(8) HISTORY
scp is based on the rcp program in BSD source code from the Regents of the University of California. AUTHORS
Timo Rinne <tri@iki.fi> Tatu Ylonen <ylo@cs.hut.fi> BSD May 3, 2017 BSD
All times are GMT -4. The time now is 11:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy