Skip to main content
be a bit more specific, add link to tutorial
Source Link
Florian F
  • 1.4k
  • 1
  • 8
  • 9

Another (IMO) easy way would be:

# to remote host
cat localfile.conf | ssh user@hostname 'cat -> /tmp/fileremotefile.conf'

# from remote host
ssh user@hostname 'cat /tmp/remotefile.conf' > /tmp/filelocalfile.conf

Or if you prefer something GUI-like, try Midnight Commander. They call the feature Shell-LinkShell-Link. Most distros have em in their package systems as mc.

Another (IMO) easy way would be:

# to remote host
cat localfile.conf | ssh user@hostname 'cat -> /tmp/file.conf'

# from remote host
ssh user@hostname 'cat /tmp/remotefile.conf' > /tmp/file.conf

Or if you prefer something GUI-like, try Midnight Commander. They call the feature Shell-Link. Most distros have em in their package systems as mc.

Another (IMO) easy way would be:

# to remote host
cat localfile.conf | ssh user@hostname 'cat -> /tmp/remotefile.conf'

# from remote host
ssh user@hostname 'cat /tmp/remotefile.conf' > /tmp/localfile.conf

Or if you prefer something GUI-like, try Midnight Commander. They call the feature Shell-Link. Most distros have em in their package systems as mc.

Source Link
Florian F
  • 1.4k
  • 1
  • 8
  • 9

Another (IMO) easy way would be:

# to remote host
cat localfile.conf | ssh user@hostname 'cat -> /tmp/file.conf'

# from remote host
ssh user@hostname 'cat /tmp/remotefile.conf' > /tmp/file.conf

Or if you prefer something GUI-like, try Midnight Commander. They call the feature Shell-Link. Most distros have em in their package systems as mc.