Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema con el scp[solucionado]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
n0dix99
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2007
Posts: 132
Location: The hell

PostPosted: Thu Jun 14, 2007 12:06 am    Post subject: Problema con el scp[solucionado] Reply with quote

Saludos a la comunidad. Estoy intentando copiar una archivo via scp, pero tengo un problema

coloco en el terminal lo siguiente:

scp guest@[host]:[ruta_del_archivo]
pero me sale lo siguiente:

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


Alguien con una idea de cual puede ser el problema?
_________________
Todavia en la andanzas!


Last edited by n0dix99 on Fri Jun 15, 2007 12:31 am; edited 1 time in total
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Thu Jun 14, 2007 8:54 am    Post subject: Reply with quote

Te falta indicar el destino al final del comando
Back to top
View user's profile Send private message
skormel
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2004
Posts: 122
Location: España

PostPosted: Thu Jun 14, 2007 1:47 pm    Post subject: Reply with quote

Como dice Stolz te falta es destino, para no hacerte un lio, recuerda que tiene la misma sintaxis que cp.



cp origen destino

scp origen destino --> scp user@host:directorio [user2@host2:]directorio2


Lo que está entre corchetes es opcional siempre y cuando el destino sea el equipo local.

PD: Si quieres copiar una lista de archivos/directorios usa la opción -r
_________________
Los moteros duros no mueren, ¡¡van al infierno!!
----------------------
AM2 4.2Ghz, 2Gb DDR2-667,M2N-SLI Deluxe, 250+400Gb SATA2, 6800GT PCI-E , Audigy.
Powerbook 12" G4@1.5Ghz
Macbook pro 17" 2.13Ghz
Via Epia@550Mhz
.... .....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum