-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathComandos_de_la_terminal%2Fscp.mw
160 lines (131 loc) · 6.56 KB
/
Comandos_de_la_terminal%2Fscp.mw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
__NOTOC__
* [[:#scp | scp]]
== scp ==
<syntaxhighlight lang="bash">
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 ... [[user@]host2:]file2
[rrc@Llawyr ~]$ su -c "rpm -qf $( which scp )"
Password:
openssh-clients-6.2p2-3.2.mga4
[rrc@Llawyr ~]$ scp Titles priddwifi:
Bienvenido a Pridd.LinuxCabal.org
Welcome to Pridd.LinuxCabal.org
Soyez bienvenus a Pridd.LinuxCabal.org
AVISO: Estamos supervisando su comportamiento
WARNING: We are monitoring this connection
AVERTISSEMENT: Nous controlons cette connexion
El abuso no va a ser tolerado
Abuse will NOT be tolerated
L'abus ne sera pas tolere
Password:
Titles 100% 590 0.6KB/s 00:00
[rrc@Llawyr ~]$ scp priddwifi:Titles .
Bienvenido a Pridd.LinuxCabal.org
Welcome to Pridd.LinuxCabal.org
Soyez bienvenus a Pridd.LinuxCabal.org
AVISO: Estamos supervisando su comportamiento
WARNING: We are monitoring this connection
AVERTISSEMENT: Nous controlons cette connexion
El abuso no va a ser tolerado
Abuse will NOT be tolerated
L'abus ne sera pas tolere
Password:
Titles 100% 590 0.6KB/s 00:00
[rrc@Llawyr ComandosDeLaTerminal]$ scp priddwifi:BashClase .
Bienvenido a Pridd.LinuxCabal.org
Welcome to Pridd.LinuxCabal.org
Soyez bienvenus a Pridd.LinuxCabal.org
AVISO: Estamos supervisando su comportamiento
WARNING: We are monitoring this connection
AVERTISSEMENT: Nous controlons cette connexion
El abuso no va a ser tolerado
Abuse will NOT be tolerated
L'abus ne sera pas tolere
Password:
scp: BashClase: not a regular file
[rrc@Llawyr ComandosDeLaTerminal]$ scp -r priddwifi:BashClase .
Bienvenido a Pridd.LinuxCabal.org
Welcome to Pridd.LinuxCabal.org
Soyez bienvenus a Pridd.LinuxCabal.org
AVISO: Estamos supervisando su comportamiento
WARNING: We are monitoring this connection
AVERTISSEMENT: Nous controlons cette connexion
El abuso no va a ser tolerado
Abuse will NOT be tolerated
L'abus ne sera pas tolere
Password:
BashClaseConLS.cpio 100% 13KB 12.5KB/s 00:00
2.bak 100% 0 0.0KB/s 00:00
1.Ztv 100% 0 0.0KB/s 00:00
4.bak 100% 0 0.0KB/s 00:00
S18.sh 100% 146 0.1KB/s 00:00
.
.
.
S12Eval.sh 100% 462 0.5KB/s 00:00
S15.sh 100% 172 0.2KB/s 00:00
S3.sh 100% 293 0.3KB/s 00:00
S2.sh 100% 730 0.7KB/s 00:00
[rrc@Llawyr ~]$ scp -P 2222 Titles [email protected]:/sdcard/Download
[email protected]'s password:
Titles 100% 590 0.6KB/s 00:00
[rrc@Llawyr ~]$ scp -v -P 2222 Titles [email protected]:/sdcard/Download
Executing: program /usr/bin/ssh host 192.168.51.130, user rrc, command scp -v -t /sdcard/Download
OpenSSH_6.2p2, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 49: Applying options for *
debug1: Connecting to 192.168.51.130 [192.168.51.130] port 2222.
debug1: Connection established.
debug1: identity file /home/rrc/.ssh/identity type -1
debug1: identity file /home/rrc/.ssh/identity-cert type -1
debug1: identity file /home/rrc/.ssh/id_rsa type -1
debug1: identity file /home/rrc/.ssh/id_rsa-cert type -1
debug1: identity file /home/rrc/.ssh/id_dsa type -1
debug1: identity file /home/rrc/.ssh/id_dsa-cert type -1
debug1: identity file /home/rrc/.ssh/id_ecdsa type -1
debug1: identity file /home/rrc/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version SSH Server - motog
debug1: no match: SSH Server - motog
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Server host key: DSA 29:1f:2d:5f:e3:fd:42:ab:57:99:12:8d:0a:3f:c1:e2
debug1: Host '[192.168.51.130]:2222' is known and matches the DSA host key.
debug1: Found key in /home/rrc/.ssh/known_hosts:9
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: password,publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/rrc/.ssh/identity
debug1: Trying private key: /home/rrc/.ssh/id_rsa
debug1: Trying private key: /home/rrc/.ssh/id_dsa
debug1: Trying private key: /home/rrc/.ssh/id_ecdsa
debug1: Next authentication method: password
[email protected]'s password:
debug1: Authentication succeeded (password).
Authenticated to 192.168.51.130 ([192.168.51.130]:2222).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -t /sdcard/Download
Sending file modes: C0600 590 Titles
Titles 100% 590 0.6KB/s 00:00
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
Transferred: sent 3208, received 1592 bytes, in 0.2 seconds
Bytes per second: sent 19532.5, received 9693.2
debug1: Exit status 0
</syntaxhighlight>
[[Category:Comandos de la terminal]]