0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ssh,scpコマンドについて

Last updated at Posted at 2020-11-22

sshについて

暗号化された通信でリモート接続するLinuxコマンド
SSHはSecure Shellの略。

コマンド使い方→ ssh [オプション] ホスト名(IP) 又は ssh ユーザID@ホスト名

サンプルコード

$ ssh 111.222.333.444(IPアドレス)
$ shh sample.com(ホスト名)

scpについて

sshと同じく、暗号化された状態でリモート接続をし、コピーができるLinuxのコマンド。

コマンド使い方→ scp [オプション] コピー元 コピー先

基本的にはLinuxのcpコマンドと同じような使い方になります。

サンプルコード

``` $ scp copy.txt(コピー元) username@copy.file.com:/remote/directory(コピー先ディレクトリー) ```
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?