Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #31  
Old 15th April 2010, 15:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Are you sure you typed in the ~ before /.ssh/authorized_keys2?

Code:
cat /tmp/id_dsa.pub >> ~/.ssh/authorized_keys2
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #32  
Old 15th April 2010, 16:26
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 13 Times in 11 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

Yes Falko I did that.

Quote:
root@backup:/home/administrator# cat /tmp/id_dsa.pub >> ~/.ssh/authorized_keys2
bash: /root/.ssh/authorized_keys2: No such file or directory
root@backup:/home/administrator#
Any ideas to get this fixed?

Rudolf.

Last edited by skoena; 16th April 2010 at 09:27.
Reply With Quote
  #33  
Old 16th April 2010, 14:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's the output of
Code:
ls -la /root
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #34  
Old 16th April 2010, 20:51
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 13 Times in 11 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

This is the output:

Quote:
drwx------ 4 root root 4096 2010-04-14 22:40 .
drwxr-xr-x 22 root root 4096 2010-04-16 18:12 ..
drwx------ 2 root root 4096 2010-04-14 22:42 .aptitude
-rw------- 1 root root 3429 2010-04-16 18:10 .bash_history
-rw-r--r-- 1 root root 2227 2008-12-23 19:53 .bashrc
drwxr-xr-x 2 root root 4096 2010-04-14 22:42 .debtags
-rw-r--r-- 1 root root 140 2007-11-19 18:57 .profile
-rw------- 1 root root 1024 2010-04-14 22:57 .rnd
-rw------- 1 root root 4809 2010-04-14 22:40 .viminfo
Reply With Quote
  #35  
Old 17th April 2010, 18:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Run
Code:
mkdir /root/.ssh
chmod 700 /root/.ssh
Then try again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #36  
Old 17th April 2010, 23:24
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 13 Times in 11 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

OK got the folder created, tnx Falko.

I use Ubuntu 9.04, how to get this working? I can't seem to connect as root only as admin user.

When I follow the steps on http://blog.it-podrska.info/2009/08/...uthentication/ and try to connect via ssh it still asks me for a password.
Reply With Quote
  #37  
Old 18th April 2010, 18:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Did you enable the root account (i.e., set a root password)?
Are root logins allowed in your SSH configuration (etc/ssh/sshd_config)?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #38  
Old 18th April 2010, 22:32
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 13 Times in 11 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

Falkon,
In the sshd_config is sais "PermitRootLogin yes" and the root password is set.
Reply With Quote
  #39  
Old 19th April 2010, 11:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Hm... What's root's shell (it's listed in /etc/passwd)?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #40  
Old 19th April 2010, 11:26
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 13 Times in 11 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
 
Default

Falko,
It's like this:

Quote:
root:x:0:0:root:/root:/bin/bash
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php Apps email not going through palkat General 8 21st September 2011 05:35
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Can't start apache Musty Server Operation 12 9th March 2008 13:58
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 16:11
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01


All times are GMT +2. The time now is 22:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.