Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Sun Apr 15, 2012 11:40 pm 
Offline
Junior Member

Joined: Sun Apr 15, 2012 7:31 pm
Posts: 25
Hi Kyrunner

Just going through those last steps.

What does shiftzz do? All it does it put a capital Z at the end of the key, and then I don't know how to save or get out of the file.


Top
   
 Post subject:
PostPosted: Sun Apr 15, 2012 11:45 pm 
Offline
Junior Member

Joined: Sun Apr 15, 2012 7:31 pm
Posts: 25
NEVERMIND - I leant that you have to hit escape first to go back to command mode


Top
   
 Post subject:
PostPosted: Sun Apr 15, 2012 11:46 pm 
Offline
Junior Member

Joined: Sun Apr 15, 2012 7:31 pm
Posts: 25
OK - I'm still getting the Server refused our key error

I'm going to try from scratch


Top
   
 Post subject:
PostPosted: Sun Apr 15, 2012 11:56 pm 
Offline
Junior Member

Joined: Sun Apr 15, 2012 7:31 pm
Posts: 25
The key that I copy from PuttyGen, do I copy ALL the data in that box, so starting with:

ssh-rsa

and ending with rsa-key- (and then 8 numbers)?

Do I need to reboot the server once I've change authorized_keys?


Top
   
 Post subject:
PostPosted: Mon Apr 16, 2012 12:07 am 
Offline
Junior Member

Joined: Sun Apr 15, 2012 7:31 pm
Posts: 25
I'm in!!!

The ssh-rsa at the beginning of the key was missing an s (sh-rsa). Not sure why. It's fixed and that's all I care about right now!


Top
   
 Post subject:
PostPosted: Mon Apr 16, 2012 8:53 am 
Offline
Senior Member
User avatar

Joined: Sat Feb 25, 2012 4:44 pm
Posts: 71
Website: http://inhomeitsupport.com
Sorry for not explaining the shiftZZ in vi..

When ever you edit a file with vi you first start out with hitting the i butting which is insert mode.. after making changes you hit escape and shitzz to save. If you want to exit with out saving first hit escape and then :w! this will exit without any changes to the file.

I'm glad you have it working!

The next steps that you need to make are securing ssh.

1, go to /etc/ssh

2, sudo vi sshd_config

3, edit the sshd_config file and configure it to this > PermitRootLogin no

4, PasswordAuthentication no

5, restart ssh for changes

6, sudo /etc/init.d/sshd restart



By doing the above steps you will secure your server from brute force attacks trying to guess easy passwords.


Top
   
 Post subject:
PostPosted: Wed Apr 18, 2012 1:11 am 
Offline
Junior Member

Joined: Sun Apr 15, 2012 7:31 pm
Posts: 25
Thanks for your help guys


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: hjohnson57 and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group