AD:
最近SSHのKeyを使ったのサービスを使用する際によくに聞かれるのと、パートナーさんのなどのMacを設定しないといけないのでよく使っている気がするのでメモ
|
$ ssh-keygen -t rsa -C "ayumi@sazae.com.au" Enter file in which to save the key (/home/ayumi/.ssh/id_rsa): (エンター) Enter passphrase (empty for no passphrase): (パスワード) $ chmod 600 ~/.ssh/id_rsa $ tail ~/.ssh/id_rsa.pub ssh-rsa anjkasndk/w4XFe2wispXpQa4/NwCzGZrmq41UxWKq7yfGHK0DZhZrzjVFDF06ebetW9XB48dlTPQqh68rIf/oh9p4NNcFRBeONUPpGwyJpN2C3hNRd/HJKER8RR6tfZU2DkFABAWNDasvqlyNkGwSPgDBbhREvS7xsAuvR6FDFl8hDzyqAZ+i1eyWDt1lqK6mP0NmxOU5d/cISAiOfkHE0A5YK1xL88UX9tgMcu5aXgAU4n4et7U3EdzdIvLNsvN1v+O20pJQMt4mSMj ayumi@sazae.com.au |
Twitter:
Warning: Undefined array key "Twitter" in /home/sazaeau/mizoshiri.com/public_html/blog.mizoshiri.com/wp-content/plugins/sns-count-cache/sns-count-cache.php on line 2897
0 | Facebook: 0 | Google Plus:
Warning: Undefined array key "Google+" in /home/sazaeau/mizoshiri.com/public_html/blog.mizoshiri.com/wp-content/plugins/sns-count-cache/sns-count-cache.php on line 2897
0 | Hatena: 0 | Pocket: 0 | Total: 0 | Feedly: 0
AD:
参考サイト:SSHサーバー構築(OpenSSH)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
$ wget http://ftp.jaist.ac.jp/pub/OpenBSD/OpenSSH/portable/openssh-5.9p1.tar.gz $ tar zxvf openssh-5.9p1.tar.gz $ vi openssh-5.9p1/contrib/redhat/openssh.spec # Do we want to disable building of x11-askpass? (1=yes 0=no) %define no_x11_askpass 1 # Do we want to disable building of gnome-askpass? (1=yes 0=no) %define no_gnome_askpass 1 %configure configure --without-zlib-version-check いらないファイルを削除 $ rm -rf openssh-5.9p1/contrib/aix/ $ rm -rf openssh-5.9p1/contrib/hpux/ $ rm -rf openssh-5.9p1/contrib/caldera/ $ rm -rf openssh-5.9p1/contrib/suse/ $ rm -rf openssh-5.9p1/contrib/cygwin/ $ rm -rf openssh-5.9p1/contrib/solaris/ $ tar czvf openssh-5.9p1.tar.gz openssh-5.9p1/ |
下記のエラーがでたので、必要なパッケージをインストール
|
$ rpmbuild -tb --clean openssh-5.9p1.tar.gz 警告: line 92: buildprereq is deprecated: BuildPreReq: glibc-devel, pam エラー: ビルド依存性の失敗: openssl-devel は openssh-5.9p1-1.i686 に必要とされています krb5-devel は openssh-5.9p1-1.i686 に必要とされています $ yum -y install pam-devel openssl-devel krb5-devel |
(More…)
Twitter:
Warning: Undefined array key "Twitter" in /home/sazaeau/mizoshiri.com/public_html/blog.mizoshiri.com/wp-content/plugins/sns-count-cache/sns-count-cache.php on line 2897
0 | Facebook: 0 | Google Plus:
Warning: Undefined array key "Google+" in /home/sazaeau/mizoshiri.com/public_html/blog.mizoshiri.com/wp-content/plugins/sns-count-cache/sns-count-cache.php on line 2897
0 | Hatena: 1 | Pocket: 2 | Total: 3 | Feedly: 0