Commande pour debian 3 Sous SSH

DeRf -  
jisisv Messages postés 3678 Statut Modérateur -
Bonjour all !!

Voila je possède un serv dedié que j'administre par SSh mais le prob c que je suis un vraie Newbie

Je voudrait dl sur la machine un fichier et on ma dit de me placer ds le dosseir voulu ( ca c pas dur) et de taper:

wget lefichier

Mais moi ca ne marche pas

g mi wget http://blalbalbala.bin

Donc ou est l'erreur?? (Get non plus ca marche pas)

3 réponses

  1. jisisv Messages postés 3678 Statut Modérateur 936
     
    Utilise scp ou sftp
    johand@horus:~$ date > brol
    johand@horus:~$ scp brol johand@anubis:/tmp
    johand@anubis's password:
    brol 100% 30 0.0KB/s 00:00
    johand@horus:~$ sftp anubis
    Connecting to anubis...
    johand@anubis's password:
    sftp> cd /tmp
    sftp> ls
    . .. .font-unix .rnd brol gconfd-root
    sftp>

    Donc
    man scp; man sftp

    Johan
    Gates gave you the windows.
    GNU gave us the whole house.(Alexandrin)
    0
  2. jisisv Messages postés 3678 Statut Modérateur 936
     
    Ah , ce que tu veux c'est utiliser wget:

    [johand@anubis johand]$ wget http://distro2.download.filefront.com/txnkzdtxyj+/pub2/Steam/Official_Server_Files/hlds_l_1120_full.bin
    --13:47:28-- http://distro2.download.filefront.com/txnkzdtxyj+/pub2/Steam/Official_Server_Files/hlds_l_1120_full.bin
    => `hlds_l_1120_full.bin'
    Résolution de distro2.download.filefront.com... complété.
    Connexion vers distro2.download.filefront.com[66.117.1.142]:80...connecté.
    requête HTTP transmise, en attente de la réponse...200 OK
    Longueur: 445,055,300 [application/octet-stream]

    1% [ ] 8,151,664 137.65K/s ETA 51:39

    ^C

    Gates gave you the windows.
    GNU gave us the whole house.(Alexandrin)
    0