Tags: ssh

Sort by: Date / Title /

  1. 4 years ago by sox and saved by 1 other
    1. date -s "$(ssh user@server date -R)"
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2175"></script>
  2. 4 years ago by spirit
    1. ssh root@remote.host "rpm -qa" | xargs yum -y install
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2170"></script>
  3. 4 years ago by spirit and saved by 1 other
    1. dateset="$(sshuser@server date)"
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2169"></script>
  4. sponsorised links
  5. 4 years ago by spirit
    1. mysqldump –add-drop-table –extended-insert –force –log-error=error.log -uUSER -pPASS OLD_DB_NAME | ssh -C user@newhost "mysql -uUSER -pPASS NEW_DB_NAME"
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2167"></script>
  6. 8 years ago by neorom
    1. ajouter les commandes voulues dans le fichier :
    2. /home/toto/.ssh/rc
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1558"></script>
  7. 9 years ago by jade
    1. # Add this alias into ~/.bashrc
    2. alias scpresume='rsync --partial --progress --rsh=ssh'
    3.  
    4. # begin a scp copy:
    5. scp foo user@remotehost:/tmp/
    6.  
    7. # if a problem occur during the copy, simply type:
    8. scpresume foo user@remotehost:/tmp/
    9. # enjoy :-)
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1115"></script>
  8. 10 years ago by skymaxs and saved by 1 other
    Pré requis : ssh soit fonctionner normalement avec PuTTY
    
    Exécuter vncserver sur le serveur si celui-ci n'est pas déjà lancé.
    
    Dans PuTTY => Connection => SSH => Tunnels
    
    Add new forwarded port :
    Source port : 5901
    Destination : 127.0.0.1:5901
    ==> Add
    
    Executer vncviewer sur 127.0.0.1::5901
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/443"></script>
  9. 10 years ago by paquai13 and saved by 1 other
    1. Par exemple, pour connaitre la place utilisee en memoire par le processus apache2 :
    2. ps -ely | grep '\<apache2\>' | awk '{SUM += $8} END {print SUM}'
    3.  
    4. ou pour connaitre la place en Ko prise par tous les fichiers PNG du repertoire :
    5. ls -l *.png | awk '{SUM += $5} END {print SUM/1024}'
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/404"></script>
  10. 10 years ago by dsx
    1. cat $HOME/.ssh/id_rsa.pub | ssh <user>@<host> "mkdir -p .ssh; chmod 700 .ssh; cat >> .ssh/authorized_keys"
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/130"></script>
  11. 10 years ago by spirit
    1. vim /etc/ssh/sshd_config
    2. # PermitRootLogin yes
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/61"></script>

First / Previous / Next / Last / Page 1 of 2 (12 posteets)