Path: ccsf.homeunix.org!news.moat.net!newsfeed.mesh.ad.jp!news-gw1.ocn.ad.jp!news-gw2.ocn.ad.jp!news-est.ocn.ad.jp!not-for-mail From: =?ISO-2022-JP?B?GyRCMHBCPBsoQiAbJEJNOhsoQiA=?= =JANE= Newsgroups: fj.comp.security Subject: Re: scp in OpenSSH does not support SSH2? Date: 01 Jan 2006 15:48:17 +0900 Organization: Area Vicus Oryzae Lines: 27 Sender: jane@caesar.vicus-oryzae.com Message-ID: <87u0cobg0e.fsf@caesar.vicus-oryzae.com> References: <051231183653.M0114047@hayabusa.ics.nara-wu.ac.jp> NNTP-Posting-Host: ns.vicus-oryzae.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 8bit X-Trace: newsnn-itk01p.noc-otehonkan.ocn.ad.jp 1136098097 7711 218.44.215.82 (1 Jan 2006 06:48:17 GMT) X-Complaints-To: usenet@ocn.ad.jp NNTP-Posting-Date: Sun, 1 Jan 2006 06:48:17 +0000 (UTC) User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Security Through Obscurity) Xref: ccsf.homeunix.org fj.comp.security:475 >>In Article <051231183653.M0114047@hayabusa.ics.nara-wu.ac.jp>, >> NIDE Naoyuki-san writes: >> しかし、OpenSSHはSCP(Secure Copy Protocol)実装において、旧バージョンで >> あるSecure Shellバージョン1(SSH1)を使用しており、バージョン2には準拠し >> ていません。 >とあるのですが… <中略> >ちゃんとssh2が使えるような気がするのですが、何かの勘違い? Transport layer としての version と、その上での scp インプリ 方式という意味での version がある (しかも scp のインプリに関 しては RFC すら存在しない) ために、紛らわしくなってますが、 ssh.com の scp は scp1: ssh コマンドにより peer に scp プロセスを生成し、両 scp プロセスの間でファイルの転送を実現 scp2: ssh connection protocol の subsystem として起動される sftp-server との間でファイルの転送を実現 のようになってます。で、OpenSSH の scp は transport layer と しては SSH2 を用いる場合 (-2 option 利用時等) であっても前者 の形でインプリされているために OpenSSH Client⇔ssh.com Server では scp が成立しなかった、という話ですね。 -- 稲村 雄 =JANE= http://www.vicus-oryzae.com/