Nick Romney

Nick Romney

Learning SSH

Nick Romney's photo
Nick Romney

Published on Aug 22, 2020

1 min read

Tips on learning SSH as I moved my primary toolchain to Ubuntu 20.04 on WSL2

Tip from StackExchange

# 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
 
Share this