My_Play_Lists ~BlackCatWhiteTail’s blog~

Talk About My Favorite Songs

MacのホストOSからVirtualBox上のゲストOSであるLubuntuに対してsftpコマンドを使用してファイルを転送する。

はじめに

 MacのホストOSからVirtualBox上のゲストOSであるLubuntuに対してsftpコマンドを使用してファイル転送をする方法についてChatGPTを用いて尋ね、動作を確認した。

方法

 以下のコマンドを実行する。オプションのPは大文字である点に注意する(ssh接続の時は小文字のpであった)。

sftp -P 2222 [username of guest OS]@localhost

 sftpのプロンプトが出たらputまたはgetでファイルのやり取りをする。

// host OS to guest OS
put 

or

// // guest OS to host OS
get

Translated with DeepL

Transfer files from the Mac host OS to Lubuntu, the guest OS on VirtualBox, using the sftp command.

Introduction

 I asked how to use sftp command to transfer files from Mac host OS to Lubuntu guest OS on VirtualBox using ChatGPT and confirmed that it works.

Method

 Execute the following command. Note that the P option is uppercase (it was lowercase p for the ssh connection).

sftp -P 2222 [username of guest OS]@localhost

 When the sftp prompt appears, use put or get to exchange files.

// host OS to guest OS
put 

or

// guest OS to host OS
```` // host OS to guest OS```

 このウェブサイトについて

 練習用のサイトです.

 自分の好きな曲について感想を述べます.

 また,世に役に立つかもと考えたことも書きます.

 

TOP 1 To 5

Title Artist Album
ロックバンド 中村中 私を抱いて下さい
犬の生活 SEX MACHINEGUNS SEX MACHINEGUNS
Megalovania Toby Fox UNDERTALE Soundtrack
Bokura No Fly Away Base Ball Bear Bokura No Fly Away - single
人魚の檻 陰陽座 迦陵頻伽(Ka Ryo Bin Ga