datentraeger

geistige Umweltverschmutzung

ssh via intermediate / multihop host

March 1, 2017 Debian/GNU Linux

Bisher hab ich meist via Portforwarding auf einen dritten, nicht direkt erreichbaren Host verbunden. Es geht aber auch direkt, was ich ziemlich cool finde…

Upload auf host2 via host1

scp -o ProxyCommand="ssh -W %h:%p user@host1" file-to-copy user@host2:/destination-directory

Download von host2 via host1

scp -o ProxyCommand="ssh -W %h:%p user@host1" user@host2:/file-to-copy local-destination-directory

Original Beitrag bei Serverfault

EDIT: Zum Thema rsync via intermediate / multihop host hab ich einen separaten Post gemacht…

GNU Social TwitterBridge

Passwort Hashes für Puppet-User

1 thought on “ssh via intermediate / multihop host”
  1. Peter V. Beck, I.
    March 1, 2017 at 12:04 am

    ssh via intermediate / multihop host http://blog.datentraeger.li/?p=536

Comments are closed.

Search
Posts
  • Mehrere Audiospuren in ein Videofile
  • Printer offline nach SNMP Anpassungen
  • Ranger bulkrename
  • Puppet und +=
  • 300’000 zum zweiten !
Archives
Categories
Tags
3D-Printing Android Apple Arch Backup BBOS/QNX cli Database Debian/GNU Linux Docker foo.li FSFE git Gnome Gnusocial Groupware irc IT Java LaTeX lvm Mail Mobile Movies Multimedia Music Nonsense Office Packaging PHP Puppet Redmine SQL Think-About Uncategorized Vaping vim Virtualisierung Volvo Web Win WTF www-links X11 XMPP
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Blogroll
  • Datentraeger Pics
  • foo.li systeme + software
  • GnuSocial.li
Proudly powered by WordPress | Theme: Doo by ThemeVS.