OpenSSH 9.0から認証は SSH セッションを使用するが、ファイル転送にはSFTPプロトコルが使用される

ManjaroからAndroid(UserLand)へ ssh できるのに、scp しようとすると以下エラーになった。 scp: Connection closed 調べていると、以下にたどり着いた。 SCP and SFTP - ArchWiki Note: Since OpenSSH 9.0 the scp utility uses the SFTP protocol by default. The -O option must be used to use the legacy SCP protocol. 注: OpenSSH 9.0 以降、scp ユーティリティはデフォルトで SFTP プロトコルを使用します。レガシー SCP プロトコルを使用するには、-O オプションを使用する必要があります。 Warning: The scp protocol is outdated, inflexible and not readily fixed. Its authors recommend the use of more modern protocols like sftp and rsync for file transfer instead....

2023-10-19 ·  2023-10-19 · 1 分 · 86 文字