LoginSignup
0
0

More than 5 years have passed since last update.

Windows10 上のファイルを WSL を介して SSH サーバに転送する

Last updated at Posted at 2019-04-06

Windows → Linux

c は小文字にする。U は大文字。

cp /mnt/c/Users/xxx/file.py file.py

cp -r /mnt/c/Users/xxx/aaa aaa

Windows 上の

C:\

は、Linux 側で

/mnt/c/

となる。

SSH クライアント → SSH サーバ

scp file.py pi@192.168.x.x:/home/pi/xxx/file.py 

パスワードを入力する。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0