1
1

ポート番号を指定して、ssh及びsftp接続を実施する方法

Posted at

要 旨

ポート番号を指定して、ssh及びsftp接続を実施する方法について記述します。

実行環境等

コンピューター: iMac 21.5インチ 2017年モデル
mac OS: Ventura 13.6.1

実施要領

ポート番号12345でサーバーにssh接続をする。

ssh接続
ssh -p 12345 (ユーザー名)@[サーバーIPアドレス等]

ポート番号12345でサーバーとsftp接続をする。

sftp接続
sftp -oport="12345" (ユーザー名)@[サーバーIPアドレス等]

結 言

今回はポート番号を指定してssh,sftp接続を実施する方法について記述しました。

1
1
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
1
1