べすとえふぉーと

プログラミング等のノート 

scp ポート指定してファイルを取得

  • Pでポート指定
scp -P $PORT loginusername@host:/home/loginusername/somefile.txt