Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 4th September 2008, 16:04
stackahumanoid stackahumanoid is offline
Junior Member
Join Date: Nov 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb Errors when trying to install sshd

Hey i'm trying to install/configure ssh on my ubuntu 8.04 desktop edition i get the following errors...any help would be really appreciated, if you need any more information let me know

blackbox@blackbox:~$ sudo apt-get install openssh-client
[sudo] password for blackbox:
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-client is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up openssh-server (1:4.7p1-8ubuntu1.2) ...
/etc/ssh/sshd_config: line 19: Bad configuration option: Host
/etc/ssh/sshd_config: line 48: Bad configuration option: SendEnv
/etc/ssh/sshd_config: line 49: Bad configuration option: HashKnownHosts
/etc/ssh/sshd_config: line 51: Bad configuration option: GSSAPIDelegateCredentials
/etc/ssh/sshd_config: terminating, 4 bad configuration options
invoke-rc.d: initscript ssh, action "restart" failed.
dpkg: error processing openssh-server (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

perhaps I need to uninstall it and try installing it again? let me know cheers
Reply With Quote
Sponsored Links
Old 4th September 2008, 16:46
jon jon is offline
Join Date: Jan 2007
Location: Canada
Posts: 91
Thanks: 13
Thanked 5 Times in 5 Posts
Send a message via Skype™ to jon

Looks like something happened in a previous attempt to install said package. I would try sudo apt-get remove --purge openssh-server then try to reinstall it with sudo apt-get install openssh-server. Failing that, you could try going in to /var/lib/dpkg/info/ and deleting everything that has to do with openssh-server (as in rm /var/lib/dpkg/openssh-server-*) although that's a last resort. After that you'd want to install it again. *IF* you have anything important in your sshd config, I'd back that up first.
Reply With Quote
Old 4th September 2008, 17:29
stackahumanoid stackahumanoid is offline
Junior Member
Join Date: Nov 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

cheers jon...tried that but i'm still getting similar errors -

however i've since resolved it by getting rid of the /etc/sshd_config file....there was something wrong with it so binned it...thanks for your help!
Reply With Quote


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
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 11:46
Horrible errors in install - any advice? Aerik Installation/Configuration 1 23rd June 2007 14:59
Errors during 6.10 install knowram Installation/Configuration 16 10th March 2007 12:25
Install Errors DarkLord00 Installation/Configuration 12 25th February 2007 18:49
Install Errors - BUGs leo Installation/Configuration 0 2nd December 2006 01:10

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

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