Skip to content

Petoria

Mission: Linux

  • /home
  • work-portfolio
  • impressum
  • datenschutzerklärung
Posted on 26. April 201416. May 2014 by koem

ssh und scp – Passwort auf Kommandozeile übergeben

Zum Beispiel in Cron-Jobs wird es nerven, wenn ssh nach einem Passwort fragt. Das lässt sich mit sshpass beheben:

sshpass -p <Passwort> ssh user@host

bzw.

sshpass -p <Passwort> scp <from> <to>

CategoriesLinux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Post navigation

Previous PostPrevious einfacher Backup mit rsync
Next PostNext AMD Catalyst Treiber in Ubuntu 14.04 installieren

Recent Posts

  • Italienische Tomatensauce – Sugo di Pomodoro
  • Backup solution with Raspberry Pi – part 1
  • sniff own https traffic
  • MinimalXPert theme: links not working
  • Thunderbird: Move Messages (to SPAM) with Keyboard Shortcut
  • Ubuntu: User verstecken
  • Android, S4 mini: externe SD-Karte kaputt
  • Aktuelle mysql-Version für Uberspace kompilieren

Recent Comments

  • koem on Aktuelle mysql-Version für Uberspace kompilieren
  • Felix on Aktuelle mysql-Version für Uberspace kompilieren
  • cpX on Linux: Video schneiden ohne neukodieren
  • koem on einen weiteren YouTube-Kanal erstellen
  • Frager on einen weiteren YouTube-Kanal erstellen

Categories

  • Allgemein
  • Android
  • Java
  • Linux
  • Rezepte
  • Uberspace
  • Windows
  • WordPress
Proudly powered by WordPress