liferay-jp (20100910-Liferay入門.pdf) | 2010-09-23 20:39 |
LiferayPortal-jp (5.0.1RC) | 2008-06-23 00:38 |
Cygwin 環境以外 (Eclipseなど) から SSH アクセスするために、HOME 環境変数を設定します。
変数名 | 値の例 |
HOME | C:\cygwin\home\yourname\ |
PATH | C:\cygwin\binを追加 |
ここでは、SSH protocol2 の RSA 鍵を生成してみます。
bash-3.2$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/h2-matsuno/.ssh/id_rsa): (←空リターン) Created directory '/home/h2-matsuno/.ssh'. Enter passphrase (empty for no passphrase): (←空リターン) Enter same passphrase again: (←空リターン) Your identification has been saved in /home/h2-matsuno/.ssh/id_rsa. Your public key has been saved in /home/h2-matsuno/.ssh/id_rsa.pub. The key fingerprint is: ~~~~~~
/cygwin/home/youname/.ssh に id_rsa (秘密鍵) と id_rsa.pub (公開鍵) が出来上がります。
id_rsa.pub 内の公開鍵を sourceforge.jpに登録します。
ssh-rsa AAAA~~~~~~~IvU= h2-matsuno@
鍵を登録してから、アクセスできるようになるまで数分から数時間掛かります。 1度試してダメならば少し待ってから再度試してみてください。
また、cvs.sourceforge.jp へのアクセスは必ずやってください。 これをやらずに Eclipse などで接続すると、初回接続時の unknown_hosts ファイルへの 登録をたずねるプロンプトを処理できず、Eclipse がだんまりになります。
$ ssh -l yourname shells.sourceforge.jp
The authenticity of host 'shells.sourceforge.jp (61.215.208.26)' can't be establ ished. RSA key fingerprint is ~~~~~. Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'shells.sourceforge.jp,61.215.208.26' (RSA) to the li st of known hosts. Linux sf-usr-shell 2.4.23-sfshell #1 SMP Tue Dec 2 12:59:21 JST 2003 i686 unknow n Most of the programs included with the Debian GNU/Linux system are freely redistributable; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. h2-matsuno@sf-usr-shell:~$
$ ssh -l yourname cvs.sourceforge.jp
The authenticity of host 'cvs.sourceforge.jp (61.215.208.25)' can't be establish ed. RSA key fingerprint is ~~~~~~. Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'cvs.sourceforge.jp,61.215.208.25' (RSA) to the list of known hosts. Linux sf-cvs 2.4.23 #1 SMP Tue Dec 2 11:46:21 JST 2003 i686 unknown Most of the programs included with the Debian GNU/Linux system are freely redistributable; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Dec 8 17:44:25 2003 from yahoobb218141164099.bbtec.net This is a restricted shell account. You cannot execute anything here. Connection to cvs.sourceforge.jp closed.
[PageInfo]
LastUpdate: 2008-06-17 19:39:31, ModifiedBy: h2-matsuno
[Permissions]
view:all, edit:members, delete/config:members