sshdの設定2011-02-20 19:40:27

リモート接続用。
鍵交換方式による認証をとる。
rootは許可しない。

# grep -v "^#" /etc/ssh/sshd_config | grep -v "^$"
Port 2222
Protocol 2
SyslogFacility AUTHPRIV
PermitRootLogin no
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile      .ssh/authorized_keys
PasswordAuthentication no
ChallengeResponseAuthentication no
GSSAPIAuthentication yes
GSSAPICleanupCredentials yes
UsePAM yes
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL
X11Forwarding yes
Subsystem       sftp    /usr/libexec/openssh/sftp-server

authorized_keysが無い場合はファイルを作る。
パーミッションを変更するのを忘れずに。
$ mkdir .ssh
$ chmod 700 .ssh
$ vi .ssh/authorized_keys
$ chmod 600 .ssh/authorized_keys

このファイルに公開鍵を挿入する。
$ cat id_rsa.pub > authorized_keys

PuTTYでエキスポートしたOpenSSH Keyファイルは変換が必要。
$ ssh-keygen -i -f id_rsa.pub.putty > id_rsa.pub

コメント

_ Mallet Toe ― 2015-08-22 03:56:38

Everyone loves it when people come together and share ideas. Great website, stick with it!

_ quest bars ― 2015-08-30 20:35:25

Wow, marvelous blog structure! How long have you been blogging for? you made running a blog look easy. The full glance of your website is great, as well as the content material!

_ quest bars ― 2015-08-31 06:53:14

Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! However, how can we communicate?

_ quest bars ― 2015-08-31 19:14:55

I have been browsing online more than 3 hours today, but I by no means discovered any interesting article like yours. It's beautiful worth enough for me. In my view, if all web owners and bloggers made excellent content material as you probably did, the net will be much more useful than ever before.

_ quest bars ― 2015-09-01 08:32:39

Fantastic items from you, man. I have consider your stuff prior to and you are simply extremely wonderful. I actually like what you've acquired right here, really like what you are saying and the way in which wherein you say it. You're making it enjoyable and you continue to care for to stay it sensible. I can't wait to read much more from you. This is actually a great web site.

_ Cheapest Quest Bars Australia ― 2015-09-02 09:56:09

Awesome! Its truly awesome post, I have got much clear idea on the topic of from this post.

_ cheapest place to buy quest bars uk ― 2015-09-21 12:32:03

Hi colleagues, how is everything, and what you wish for to say regarding this piece of writing, in my view its really amazing for me.

_ pof plenty of fish dating ― 2015-10-15 21:28:45

I have to thank you for the efforts you've put in writing this website. I really hope to view the same high-grade blog posts by you in the future as well. In truth, your creative writing abilities has inspired me to get my own, personal blog now ;)

_ Plenty Of Fish Sign In ― 2015-10-18 05:18:52

Great article.

_ Pof Forums ― 2015-10-18 08:02:10

Hello all, here every one is sharing these kinds of know-how, so it's pleasant to read this webpage, and I used to pay a visit this web site everyday.

_ How To Get Quest Bars Cheap ― 2015-10-18 20:53:58

First off I want to say terrific blog! I had a quick question which I'd like to ask if you don't mind. I was interested to find out how you center yourself and clear your head prior to writing. I have had a tough time clearing my thoughts in getting my ideas out there. I do take pleasure in writing but it just seems like the first 10 to 15 minutes are lost simply just trying to figure out how to begin. Any suggestions or hints? Kudos!

_ quest bar coupon for gnc ― 2015-10-20 00:33:21

Woah! I'm really loving the template/theme of this website. It's simple, yet effective. A lot of times it's very hard to get that "perfect balance" between usability and visual appeal. I must say you've done a amazing job with this. Also, the blog loads very fast for me on Chrome. Excellent Blog!

_ forskolin at gnc ― 2015-11-02 19:21:46

Heya i'm for the first time here. I found this board and I find It really useful &
it helped me out a lot. I hope to give something back and aid others
like you aided me.

_ Plenty Of Fish Dating Site Of Free Dating ― 2015-11-06 12:35:58

It's appropriate time to make some plans for the future
and it's time to be happy. I've read this post and if I
could I desire to suggest you few interesting things or advice.
Maybe you can write next articles referring to this article.
I want to read more things about it!

_ plenty of fish dating site of free dating ― 2015-11-06 23:38:11

At this moment I am going to do my breakfast, when having my
breakfast coming over again to read additional news.

_ plenty of fish dating site of free dating ― 2015-11-07 01:01:24

For latest information you have to visit internet and on web I found this site
as a finest website for hottest updates.

_ www.krogerfeedback.com ― 2015-11-13 15:49:14

A fascinating discussion is worth comment. I do
believe that you ought to publish more about this issue, it might not be a taboo matter but typically people don't discuss
these issues. To the next! Kind regards!!

_ quest bar reviews ― 2015-11-17 22:12:46

Woah! I'm really enjoying the template/theme of this blog.

It's simple, yet effective. A lot of times it's very hard to get that
"perfect balance" between user friendliness and visual appeal.

I must say you've done a fantastic job with this.
Additionally, the blog loads very quick for me on Firefox.

Excellent Blog!

_ plenty of fish dating site of free dating plenty of fish dating site of free dating ― 2015-12-08 15:47:46

I am regular visitor, how are you everybody?
This article posted at this website is genuinely fastidious.

_ krogerfeedback.com ― 2015-12-10 07:26:36

It's difficult to find educated people for this subject, but you sound
like you know what you're talking about! Thanks

_ Bajar Facebook Gratis ― 2015-12-18 18:36:42

These are really enormous ideas in regarding blogging.
You have touched some good points here. Any way keep up
wrinting.

_ www.krogerfeedback.com ― 2015-12-19 22:11:09

It is the best time to make a few plans for the long run and it is time to be happy.

I've learn this put up and if I could I wish to recommend you some interesting issues or suggestions.
Perhaps you can write subsequent articles relating to this article.
I desire to learn even more issues approximately it!

_ kroger feedback survey ― 2015-12-24 20:57:37

Good respond in return of this issue with solid arguments and
explaining the whole thing regarding that.

_ Descargar Firefox == ― 2016-01-05 18:45:47

What i don't realize is in truth how you're no longer actually a lot more well-preferred than you might be right now.

You are very intelligent. You already know thus considerably when it comes to this topic,
made me in my opinion believe it from so many various angles.
Its like women and men aren't fascinated except it is something to do with Girl gaga!

Your individual stuffs excellent. At all times take care of it up!

_ quest bars ― 2016-02-09 10:19:48

I know this web site offers quality based articles or reviews and additional material, is there any other
web site which presents these information in quality?

_ Quest Bars ― 2016-02-09 14:14:54

Your style is really unique in comparison to other people I have read stuff from.
I appreciate you for posting when you've got the opportunity, Guess I'll just bookmark this page.

_ plenty of fish dating site of free dating ― 2016-02-23 12:26:24

I am really inspired with your writing talents and also with the structure to your weblog.

Is this a paid theme or did you modify it yourself?
Either way keep up the nice high quality writing, it's
uncommon to see a nice blog like this one nowadays..

_ Limewire Free Music Downloads ― 2016-03-07 19:19:09

Hi there! This blog post could not be written much better!
Looking at this article reminds me of my previous roommate!
He always kept preaching about this. I'll send this information to
him. Fairly certain he will have a very good read. Thanks for sharing!

_ manicure ― 2017-04-02 11:11:19

A motivating discussion is worth comment. I do believe that you ought to write more
about this subject matter, it may not be a taboo matter but usually folks don't discuss these topics.

To the next! Best wishes!!

_ manicure ― 2017-04-10 22:13:59

I'm not sure where you're getting your info, but great topic.
I needs to spend some time learning much more or understanding more.
Thanks for fantastic info I was looking for this information for my mission.

_ manicure ― 2017-04-11 01:46:10

A person essentially lend a hand to make critically posts I would state.
This is the first time I frequented your web page and to this
point? I surprised with the research you made to create this actual put up
extraordinary. Magnificent activity!

_ BHW ― 2017-04-12 20:27:41

Thanks for sharing your info. I truly appreciate your efforts and I am waiting for your next post thank you
once again.

_ BHW ― 2017-04-16 06:15:21

I just like the helpful info you provide to your articles.
I'll bookmark your blog and check once more here frequently.
I am relatively sure I will be told many new stuff proper right here!
Best of luck for the following!

_ MoiraKisielewski.bravesites.com ― 2017-05-02 09:26:51

First off I want to say wonderful blog! I had
a quick question which I'd like to ask if you don't mind.
I was interested to find out how you center yourself and clear your head prior
to writing. I have had a hard time clearing my mind in getting my thoughts out there.

I truly do enjoy writing however it just seems like the first 10 to 15
minutes are lost simply just trying to figure out how to begin. Any suggestions or
hints? Cheers!

_ manicure ― 2017-05-04 12:45:09

Hi there to every body, it's my first visit of this website; this webpage consists of amazing and in fact good data in favor of visitors.

_ manicure ― 2017-05-04 21:00:06

What's Going down i'm new to this, I stumbled upon this I have discovered It positively helpful and it has aided me out loads.

I am hoping to contribute & help other users like its aided me.
Great job.

_ prony bony ― 2018-06-01 23:47:52

48nzSo I value the article post.Much thanks again. Really Cool.

_ ครีมบำรุงหน้าขาวใส ― 2018-06-04 00:20:54

Looking forward to reading more. Great post.Really looking forward to read more. Cool.

_ เครื่องกรองน้ำ ― 2018-06-04 00:53:27

very nice submit, i definitely love this website, carry on it

_ seo vancouver ― 2018-06-04 02:50:15

Just wanted to say I love reading through your blog and look

_ lingerie manhattan ― 2018-06-04 06:05:47

Thanks for the article post.Really looking forward to read more. Keep writing.

_ seo vancouver ― 2018-06-04 06:36:53

wow, awesome blog article.Really thank you! Fantastic.

_ seo vancouver ― 2018-06-04 08:29:24

Thank you for your blog article.Really thank you!

_ seo vancouver ― 2018-06-04 10:20:44

Incredible story there. What happened after? Take care!

_ seo vancouver ― 2018-06-04 12:12:13

So happy to possess located this publish.. Terrific opinions you have got here.. I enjoy you showing your perspective.. of course, analysis is paying off.

_ seo vancouver ― 2018-06-04 15:56:05

There is clearly a lot to know about this. I suppose you made various good points in features also.

_ sex toys manhattan ― 2018-06-04 17:50:07

Looking around I like to look around the internet, regularly I will just go to Stumble Upon and follow thru

_ sex toys for men ― 2018-06-04 19:46:04

Some really prime posts on this internet site , saved to favorites.

_ sex toys ― 2018-06-04 21:39:01

Thanks for sharing, this is a fantastic blog post. Really Cool.

_ sex toys ― 2018-06-04 23:35:26

So great to find somebody with some unique thoughts on this issue.

※コメントの受付件数を超えているため、この記事にコメントすることができません。

トラックバック

このエントリのトラックバックURL: http://mhrz.asablo.jp/blog/2011/02/20/5694746/tb