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.

Macでscp使ったらSSHのエラーが出た時

Posted at

sshのポート番号を変えたサーバに繋ぐ時に遭遇したやつ

$ scp -p10022 -i server-no.pem shindev@255.255.255.255:/home/shindev/210726.sql.gz /Users/shindev/Desktop/210726.sql.gz
SSH protocol v.1 is no longer supported

ポート番号の指定を大文字にしたら通った

$ scp -P10022 -i server-no.pem shindev@255.255.255.255:/home/shindev/210726.sql.gz /Users/shindev/Desktop/210726.sql.gz

おわり。

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?