* [CODE@en[ssh]] 命令

[6] [DFN[[CODE@en[[[ssh]]]] [[命令]]]]は、 [[Unix]] 系環境に大抵用意されている [[ssh]]
[[クライアント]]です。普通は [[OpenSSH]] に同梱されいている同名の[[プログラム]]です。

* [CODE(URI)@en[ssh:]] URL scheme

[7] [DFN[[CODE(URI)@en[ssh:]]]] は、 [[SSH]] による[[セッション]]、
あるいは [[SSH]] ([[SCP]]) によってアクセス可能な[[ファイル]]を表す [[URL scheme]] です。

[8] [[SSH]] を介して他の[[プロトコル]]等によってアクセスする場合を表す [[URL scheme]]
として [CODE(URI)@en[[[svn+ssh:]]]] などがあります。

[9] 
[PRE[
$ git clone ssh://user@server/project.git
]PRE]


[10] [CITE@en[draft-ietf-secsh-scp-sftp-ssh-uri-04 - Uniform Resource Identifier (URI) Scheme for Secure File Transfer Protocol (SFTP) and Secure Shell (SSH)]]
([TIME[2010-03-05 19:58:04 +09:00]] 版)
<http://tools.ietf.org/html/draft-ietf-secsh-scp-sftp-ssh-uri-04>

[11] [CITE@en[draft-ietf-secsh-scp-sftp-ssh-uri-04 - Uniform Resource Identifier (URI) Scheme for Secure File Transfer Protocol (SFTP) and Secure Shell (SSH)]]
( ([TIME[2011-03-13 09:25:28 +09:00]] 版))
<http://tools.ietf.org/html/draft-ietf-secsh-scp-sftp-ssh-uri-04>

[18] 
[CITE@en[nix help-stores - Nix Reference Manual]], [TIME[2026-03-01T03:14:34.000Z]] <https://nix.dev/manual/nix/2.24/command-ref/new-cli/nix3-help-stores>


* SSH 上のアプリケーション

[FIG(short list)[
- [[シェル]]
- [[SCP]]
- [[SFTP]]
- [[ポート転送]]
]FIG]

* メモ

[3]
''PortForwarder Home'' <http://www.fuji-climb.org/pf/JP/>
([[名無しさん]])

[4]
>>3 Win32 で CUI を使うのに慣れていない人に port 転送してもらうときに便利。
([[名無しさん]] [WEAK[2004-06-06 03:46:38 +00:00]])

[5]
''win-ssh-askpass'' <http://www.ganaware.jp/S/win-ssh-askpass/>

[1] [CITE[SSHの秘密鍵について - 禿散らかしてごめんなさい]]
([TIME[2015-02-19 07:29:48 +09:00]] 版)
<http://d.hatena.ne.jp/machua/20110809/1312899353>

[2] [CITE[What are GitHub's SSH key fingerprints? - User Documentation]]
([TIME[2015-12-20 14:43:41 +09:00]] 版)
<https://help.github.com/articles/what-are-github-s-ssh-key-fingerprints/>

[12] [CITE@en[Use the SSH protocol with Bitbucket Cloud - Atlassian Documentation]]
([TIME[2015-12-21 22:16:22 +09:00]] 版)
<https://confluence.atlassian.com/bitbucket/use-the-ssh-protocol-with-bitbucket-cloud-221449711.html>

[13] [CITE@en[wercker/step-add-to-known_hosts]]
([TIME[2015-12-21 22:16:27 +09:00]] 版)
<https://github.com/wercker/step-add-to-known_hosts>

[FIG(amazon)[
[[SSH]]
]FIG]

[14] [CITE[Using SSH securely — Anne’s Blog]]
([TIME[2017-03-05 20:43:23 +09:00]])
<https://annevankesteren.nl/2017/01/secure-secure-shell>

[15] [CITE@en[RFC 8160 - IUTF8 Terminal Mode in Secure Shell (SSH)]]
([TIME[2017-04-20 17:11:00 +09:00]])
<https://tools.ietf.org/html/rfc8160>

[FIG(quote)[
[FIGCAPTION[
[16] [CITE@en[sources.list(5) — apt — Debian jessie — Debian Manpages]]
( ([TIME[2017-05-18 18:49:30 +09:00]]))
<https://manpages.debian.org/jessie/apt/sources.list.5.en.html#URI_SPECIFICATION>
]FIGCAPTION]

> The rsh/ssh method invokes RSH/SSH to connect to a remote host and access the files as a given user. Prior configuration of rhosts or RSA keys is recommended. The standard find and dd commands are used to perform the file transfers from the remote host.

]FIG]

[FIG(quote)[
[FIGCAPTION[
[17] [CITE@en[Compromise On Checkout - Vulnerabilities in SCM Tools · The Recurity Lablog]]
( ([TIME[2017-08-15 02:20:25 +09:00]]))
<http://blog.recurity-labs.com/2017-08-10/scm-vulns>
]FIGCAPTION]

> '''['''lfs''']'''
>     url = ssh://-oProxyCommand=some-command
> When cloning a repository with such a .lsfconfig file, Git with the LFS plugin would happily try to invoke ssh in order to get the LFS objects from a host -oProxyCommand=some-command. SSH, however, would interpret that hostname as an -o option and subsequently try to invoke some-command in order to establish a connection (see also man 5 ssh_config).

]FIG]
