と、お困りの方のために、今回は”scp”コマンドについて解説したいと思います。 scpコマンドとは、sshプロトコルを使用してファイルを転送するコマンドです。コマンド1つでファイルの転送ができるため、とても便利なコマンドです。 今回はscpコマンドの使い方を1から解説します。内容は以...
scp [/path/to/local/file] [remote-username]@[remote-hostname]:[/path/to/remote/file] This command is available by default on OS X and Linux machines. You can use it to copy files to a Linode, as well as between remote servers. If you use SSH keys, you can use thescpcommand with...
上記のコマンドが実行されると、<filename>というファイルと、<filename>.pubというファイルができる(は適宜、自分で指定しよう)。前者が秘密鍵、後者が公開鍵。この後、公開鍵<filename>.pubを公開鍵認証でアクセスしたいサーバにコピーする $ scp <filename>.pub <hostname>:.ssh/. その...
10 more_horiz CancelDelete Comments No comments Let's comment your feelings that are more than good LoginSign Up Qiita Conference 2024 Autumn will be held!: 11/14(Thu) - 11/15(Fri) Qiita Conference is the largest tech conference in Qiita!