On Sat, Mar 31, 2012 at 12:58 PM, Michael Havens <bmike1@gmail.com> wrote:That means you "manually installed it".
I did?
Just remove it:
# apt-get remove openssh-server
# apt-get add openssh-server
# /etc/init.d/ssh start
>Mike it looks like one of you systems is on the wireless and the other on the Wired.Yes, that is correct. Both connected to the modem
That means that the connection times out. Are you trying to ssh as root? Sometimes root is excluded from connecting via /etc/ssh/sshd_config?
# grep Root /etc/ssh/sshd_config <--------------- 'root' not in file
Okay, you can do (verify ssh):
# /etc/init.d/ssh status
or
# netstat -antp |grep ssh
or
# ps -ef |grep ssh <-------------------------------------- happily running
Try your connection again! <---------------- I can only ssh out of the ubuntu, (this is the step I figured out 'apt-get remove openssh-server' broke things
# ssh yourname@targetprintserverip
If the connection is seen on the host (but has some problem due to FQN (/etc/hosts) or /etc/hosts.allow files, it will be logged in either:
# tail /var/log/messages <--------------- no such file or directory
# tail /var/log/secure <--------------- no such file or directory
Okay we see the ports open, so we don't have a firewall in the way.
What is in your /etc/hosts.allow and /etc/hosts.deny on the ssh target?
why did the sound stop working?
>>Another problem that just started is the sound on the print server stopped working. I clicked on the speaker icon >>to turn it up and I see it is maxed. So then I clicked 'sound settings' and the output volume is maxed so I >>investigate the tabs. The first tab (hardware) has nothing in the 'choose a device to configure' window. So >>somehow the driver was removed (I guess).
Which distro?Ubuntu (print server).
Okay you can post to the Ubuntu boards, or google the exact distro version [uname -a] with your question and find a great number of people who have already answered your question.
-a-
apt-get remove openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
openssh-server ssh
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded.
3 not fully installed or removed.
After this operation, 938 kB disk space will be freed.
Do you want to continue [Y/n]?
Abort.
root@Michaels-PC:/etc/init.d# apt-get remove openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
openssh-server ssh
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded.
3 not fully installed or removed.
After this operation, 938 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 259861 files and directories currently installed.)
Removing ssh ...
Removing openssh-server ...
ssh stop/waiting
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Processing triggers for man-db ...
Setting up linux-image-3.0.0-15-generic (3.0.0-15.26) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-15-generic /boot/vmlinuz-3.0.0-15-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-15-generic /boot/vmlinuz-3.0.0-15-generic
update-initramfs: Generating /boot/initrd.img-3.0.0-15-generic
/etc/initramfs-tools/conf.d/resume.new: 1: GNU: not found
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.0-15-generic /boot/vmlinuz-3.0.0-15-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.0-15-generic /boot/vmlinuz-3.0.0-15-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.0.0-15-generic /boot/vmlinuz-3.0.0-15-generic
/etc/default/grub: 1: GNU: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.0.0-15-generic.postinst line 1010.
dpkg: error processing linux-image-3.0.0-15-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.0.0-16-generic (3.0.0-16.29) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
update-initramfs: Generating /boot/initrd.img-3.0.0-16-generic
/etc/initramfs-tools/conf.d/resume.new: 1: GNU: not found
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.0.0-16-generic /boot/vmlinuz-3.0.0-16-generic
/etc/default/grub: 1: GNU: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.0.0-16-generic.postinst line 1010.
dpkg: error processing linux-image-3.0.0-16-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.0.0-17-generic (3.0.0-17.30) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-17-generic /boot/vmlinuz-3.0.0-17-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-17-generic /boot/vmlinuz-3.0.0-17-generic
update-initramfs: Generating /boot/initrd.img-3.0.0-17-generic
/etc/initramfs-tools/conf.d/resume.new: 1: GNU: not found
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.0-17-generic /boot/vmlinuz-3.0.0-17-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.0-17-generic /boot/vmlinuz-3.0.0-17-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.0.0-17-generic /boot/vmlinuz-3.0.0-17-generic
/etc/default/grub: 1: GNU: not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.0.0-17-generic.postinst line 1010.
dpkg: error processing linux-image-3.0.0-17-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
linux-image-3.0.0-15-generic
linux-image-3.0.0-16-generic
linux-image-3.0.0-17-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Michaels-PC:/etc/init.d# apt-get add openssh-server
E: Invalid operation add
root@Michaels-PC:/etc/init.d#
-b-
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss