Ubuntu :: Sshd Starts Manually But Not At Startup?

Dec 27, 2010

Not sure if this belongs here or in the upgrade forum but since the upgrade went OK I figured I would post this here. I come from a RedHat background and am not too familiar with the Ubuntu/Debian way of dealing with service startup so this may be simple. I was running 10.04 LTS on a Sony Vaio and did a distribution upgrade to 10.10. When running 10.04 LTS the sshd daemon started on boot and I was able to ssh into the PC. Now that did the update I can start the daemon using the command "sudo /etc/init.d/ssh start" but it doesn't start when the systems boots.

I even tried creating the entries in the /etc/rc.#.d directories like this:
/etc/rc0.d/K20ssh -> ../init.d/ssh
/etc/rc1.d/K20ssh -> ../init.d/ssh

[code]....

View 5 Replies


ADVERTISEMENT

Ubuntu :: Can't Stop Sshd From Startup?

Jun 30, 2010

i installed it, but every time i start my system, sshd is running, but i can't find out where it's startup entry is located.Code:ls /etc/rc*.d | grep sshreturns nothing, which indeed is true, 'cause i removed the links from the runlevel directories. i checked the rc.local file which is empty and never added a line anywhere to start the ssh daemon explicit.i'm using the latest ubuntu with updates and everything (at least i think so). in my gnome startup application preferences the only thing related to ssh is the ssh key agent. but if i deactivate it, sshd still startsup.

Code:
sudo update-rc.d -f ssh remove
didn't helped either

[code]....

View 9 Replies View Related

Ubuntu Networking :: Sshd -D At Startup - How To Remove The -D Option

May 19, 2011

Somehow the -D option got tacked on to my sshd when I start up. How do I remove the -D option when sshd is started at boot? I'm guessing I need to edit something in /etc/init.d but not sure what. I checked System->Preferences->Startup Applications and the ssh server daemon isn't listed there. And since it is a command line option /etc/ssh/sshd_config is of no help.

View 2 Replies View Related

Debian Configuration :: No Sshd On Startup (lenny)?

May 30, 2010

I tried recompiling a new kernel yesterday (2.6.34) on my debian sarge box, but I ran into multiple difficulties. These difficulties forced me to do a double dist-upgrade to lenny. The new kernel was (seemingly) compiled without any hiccups, and I ran dpkg -i on both the image and the header debs. They didn't install properly into grub, but I think I managed to fix that manually.Next thing I did was rebooting the server. It refused to come back up. Luckily my ISP has recovery tools, so I managed to switch back to the old kernel. It boots just fine with that kernel, but the problem is that there is no ssh daemon running! I can access it through ftp and do limited jobs through php, but nothing big, as I have no root access.Now, enough backstory. My question is: How can I install openssh-server onto the server remotely? I cannot access the server personally, as the server is in a completely different country.

View 14 Replies View Related

Ubuntu :: Can't Autostart And Automount RAID5 Created With Mdadm But It Starts Manually

Jan 17, 2011

Relatively inexperienced user using Linux/ubuntu. Not too savvy I admit and like to use GUI as much as possible. Not a great fan of the Terminal window... I have installed a couple weeks ago Ubuntu 10.10 (Desktop Edition) using Alternative install disk (don't ask why!) on 4Gb usb stick. Working fine except one thing with the raid array. I have created a raid5 array made of 6 drives using GUI (Disk Utility). After an expansion of the array (or was it a reinstall of the OS, I can't remember exactly?) the array does not autostart anymore. Of course nor does it automount anymore.

THE WEIRD THING is that I can still start it MANUALLY from the "Disk Utility" GUI after two tries. And it works just fine thereafter!!! The first time i try to start it gives an error (something about /dev/md0_127 being not ready or buisy). THE SECOND TRY ALWAYS WORKS like a charm, the array starts and i can mount it just fine. Here is a screenshot: I have also noticed that there is no entry in fstab for /dev/md0 although I can manually mount it using the same Disk Utility GUI. That is strange to me. Is it normal? i could easily add it manually but Ubuntu it won't boot anymore (i tried and failed, hence the reinstall). I tried for two weeks to find a solution browsing on different forums but the problem is beyond my expertise...

BELOW are further details about my configuration mdadm.conf, fstab, fdisk -l result and other info. I don=t want to loose my data but it would be nice to make this thing work and be able to access my fileserver via vnc instead of having to keep it connected to a lcd monitor as now. This is the blkid result:

[Code]...

View 3 Replies View Related

Debian Configuration :: Sshd Service Never "really" Starts On System Boot

Dec 3, 2010

I'm not really sure what the problem is here, but sshd does seem to start on system boot. tty1 does list "OpenBSD Secure Shell server" at least. Also, # service --status-all; indicates that sshd is running, but if I try and actually ssh into my box, I get a "Connection refused" response.

I am, however able to restart the service manually and everything magically works again. Odd...?

View 1 Replies View Related

Ubuntu :: Rhythmbox Starts At Startup?

Jan 9, 2010

rhythmbox isnt one of my startup programs, but for some reason it starts up every time i boot my computer. i even downloaded bootup manager and its not on that list either...

View 4 Replies View Related

Ubuntu :: Cheese Starts Upon Startup

Aug 26, 2010

I can't find a way to use cheese in lucid. When I start it, it immediately starts flashing photos in countdown mode and repeats. I can't find a way to stop it except to use the hardware Fn-Esc to disable the webcam.

Because of the intermittent flashing and countdown 3-2-1 screens, I can't hit any buttons or menus.

View 1 Replies View Related

Ubuntu :: YES Command Starts Automatically At Startup?

Oct 12, 2010

Since a few weeks my PC have been working slow and the gnome system Monitor says that my cpu is working at 100% all the time. when I ran top command appears:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
770 root 20 0 4060 308 240 R 76 0.0 8:41.05 yes
919 root 20 0 4060 312 240 R 49 0.0 8:23.39 yes

[code]...

View 5 Replies View Related

Ubuntu :: Teamviewer On Startup - Starts With Only An Icon In The Tray

Jul 6, 2011

I use Team Viewer a lot. In Windows, if you have it set to start with Windows, it starts with only an icon in the tray. On my daughters Acer netbook running Edubuntu Natty, when I set it to start with the computer it opens the full program. My question is how do I set it so it still starts but without being intrusive? Hidden...

View 2 Replies View Related

General :: Startup Script On Ubuntu That Only Runs Properly When Ran Manually?

May 10, 2011

I'm trying to run a script on session start, so I added it to System -> Preferences -> Startup Applications.The script does run, but some of the commands inside don't appear to run at all. If after startup I open a terminal and run the script manually, it runs fine!

#!/bin/bash
if [ "$DISPLAY" == ":0.0" ]; then
tmux new -s Phys ;

[code]....

View 1 Replies View Related

Fedora :: Applications That Starts On Startup That Aren't Configured?

Mar 21, 2010

This problem has been there since I upgraded to FC12 from FC11 (I use Gnome). There are two applications that launch automaticaly when I logon:A nautilus window pointed at computer:////RythmBox minimized to notification panel.And they aren't in System/preferences/startup applications

View 6 Replies View Related

Fedora :: Firefox Graphics Different Depending On Whether It Starts Normally Or From Startup

Apr 22, 2010

trying to get Firefox working properly. I have the tarball installed from Firefox�s site and am using Fedora 12 with KDE as the desktop environment. The problem is if I start Firefox normally, say, by just clicking on the firefox script, then the graphics will be rather crude; but when Firefox starts as soon as I log in (because I�ve configured it to auto-start) then the graphics will be nice and smooth. I�m having a hard time trying to find answers for this because I�m not exactly sure what�s happening? I think when it auto-starts as I log in, it�ll use... well, this is the bit I haven�t got a clue how to explain? I�d guess one time it uses QT, and the other time it�ll use GTK.

I don�t know why it�s doing this, and when it�s started normally and I go to shutdown most of the time it�ll come up with a crash report. There isn�t any difference in the way Firefox is being opened, the auto-start calls upon the same script that my shortcut uses, which is the same as clicking on the firefox script in the firefox folder. I have a few images attached to elucidate the problem. I understand I may not have made myself very clear, but I�m having a great deal of trouble understanding what precisely is going on.

Firefox can seem a bit glitchy when the crude graphics are in use. Like the mouse-overs which leave traces of the box behind when you move the mouse away. So I�m having to logout then back in if I�ve happened to close Firefox and want to reopen it...

View 3 Replies View Related

OpenSUSE Install :: 11.2 W/ KDE 4.3 [i586]: Editing The Startup Script Manually?

May 15, 2010

I'd just installed a *nix antivirus called Avrira Antivir (from downloaded script & installation files), but it completely froze my system when I tried to start it, and the system freezes at the login screen; which is probably because I selected the option of running it automatically upon startup...So here's the deal: I know that I can run a live Linux usb to mount my current fs, then edit the file(s) that load the Avira processes on startup, but I don't know what these files are, much less which directories they are in!

View 8 Replies View Related

General :: Server Hangs At Startup To Connect To Ldap Before Network Service Starts?

Jul 6, 2010

I am using centos 5.5 x85_64 2.6.18-194.3.1.el5 The server is hanging at start up due to the follwoing error

udevd[746] nss_ldap reconnecting to LDAP server (sleeping 4 seconds)
udevd[746] failed to bind to LDAP ser er ldap://192.168.0.100 cant contact ldap

It fails and then tries again, and again, each time increasing the sleep time. This is happening before network sercvices are started so ther is no way it can connect to ldap. anyone know a way to fix this problem?

View 2 Replies View Related

Software :: Samba Refuses To Start On Startup - But Will Start Manually

Apr 14, 2009

I just moved my / from sda1 to an ide drive, hde1. i dont see how this could have caused any of these issues, but it did.

First my network card failed to start. i added a line in my rc.local file (where i put all of my additional programs, etc i want to start):/etc/rc.d/rc.inet1

The above now starts my network card with my static ip configured. dhcpcd also worked but i wanted this static.

Now samba will not start. i have the following line in my rc.local: /etc/rc.d/init.d/samba start

This used to work just fine. at first i thought that samba may be trying to start before my network card gets an ip, but the line is *after* the network startup line. just to make sure, i made an additional script called startsamba which contained a sleep 60 followed by samba start, to delay the startup of samba even further.

The message samba reports is very vague, something like failed - core dumped. most of the core dump log is garbage characters, but here is the beginning which seems like it might contain some info:

Code:

ERROR: Can't log to stdout (-S) unless daemon is in foreground (-F) or interactive (-i) after the system starts, i can drop to a console and type "/etc/rc.d/init.d/samba start" and the service starts just fine. i've also tried starting samba manually with "smbd -d" which also produces the core dump when started from rc.local, but not when started from a console after startup.

View 8 Replies View Related

Ubuntu Networking :: Wireless Starts And Stops And Starts And Stops?

Feb 10, 2010

Sometime after I upgraded to ubuntu 9.10 I've been having trouble with my wireless network connection.It will usually log on to the network, then disconnect a shortly after. Then try to connect again, usually successfully, then it cuts off again. Then connects again, then disconnects. FWIW, ubuntu 9.10 works on a different machine pretty consistently, so I don't think its a problem with the router.

View 2 Replies View Related

Ubuntu :: Sshd Keeps Re-Spawning?

Jun 25, 2010

The system in question is using Mint 9, but the forums there aren't as active and since its Ubuntu based I didn't think it would be a concern bringing my problem here. If this is an issue, apologies, lock the thread and I'll head over to the Mint forums.So I have an SSH server running on the system, but I only like to have it running at certain times, so I removed it from the rc scripts using the command: sudo update-rc.d -f ssh remove.

Anyway, later I found that SSH was turning on at boot time anyway. I checked the rc scripts manually and couldn't find reference to it. I then tried to stop the process using the command: sudo /etc/init.d/ssh stop which reported that it was working, but after checking the processes and consulting syslog I found that it was re-spawning after I had told it to stop.I found 2 ways to stop the process without it re-spawning:sudo initctl stop sshand sudo service ssh stopSo whilst I can turn it off at each boot, or script it to shutdown at login, I'm still wondering why update-rc.d isn't working

View 3 Replies View Related

Ubuntu :: Sshd Could Not Be Stopped?

Jul 1, 2010

I have latest openssh-server. you know the classic star/stop scripts:

sudo /etc/init.d/ssh start/stop

But when I wrote this stop command, everything looks good, except sshd was still running. I looked into script it uses start-stop-deaemon to kill through pid. The script always kills process, but immediately, new process of sshd was emerged (by it self - with new process ID)! I don't get it. I'm sick of my not understanding of the proglem! The new process of sshd has parent with id 1 (init). How is this possible? How does it come, that ssh can not be turn off and nobody has noticed or complain about it?

After 2 hours of googling I managed to find this command:

sudo service ssh stop

and ssh finally got killed. Yeahh! After issuing this command /etc/init.d/ssh start/stop work correctly. But only to restart of system. Is this some king of super-uber command and we should not user /etc/init.d/ scripts anymore?

The strange thing is, ssh is run by itself after system start-up (without being in /etc/rc...).

View 2 Replies View Related

Ubuntu :: When Does Sshd Stop

Jul 7, 2010

I see in /etc/init/ssh.conf that sshd is designed to start on filesystemstop on runlevel SI understand that runlevel S is single user.Which says to me that sshd is not stopped on shutdown (runlevel 0).Also, sshd is in /usr/sbin/sshd and furthermoresudo lsof -p <sshd_pid>shows that it uses lib files in /usr/lib.So, my question is, if sshd is not stopped on shutdown YET sshd uses files in /usr, then how can/etc/rc0.d/S40umountfsever successfully umount /usr during shutdown when /usr is on its own partition? sshd should still be using the files, meaning the file system is busy. right?Yet, I'm pretty sure that my shutdowns used to complete successfully. (Edit : I guess they didn't - see next post)

View 2 Replies View Related

General :: SSHd Not Running On Ubuntu 10.10 VM?

Oct 14, 2010

I have just built my first ever Linux desktop, using VM Ware and it is running Ubuntu 10.10. I wish to try and use SSH to contact the machine but I don't believe the SSHD is running.

I have done a grep for SSHD shows nothing and have checked the Synaptic Package Manager and can see an openssh-client version 1:5.5.p1-4ubuntu is currently installed.

On Solaris, you can start SSH by typing /etc/init.d/ssh start but when checking /etc/init.d on Linux, there is nothing in there called SSH so am unable to restart it.

I just want to have the SSH running on the machine.

View 3 Replies View Related

Ubuntu Networking :: Get Segfaults In Sshd When Trying To Connect

Jan 6, 2010

I've started to get segfaults in sshd when trying to connect. There has been no reboot and (until I restarted the sshd to try to fix the problem) there was still another ssh session connected.

The log messages:

Code:
==> kern.log <==
Jan 6 21:33:38 shuttle kernel: [ 1928.611128] sshd[9548]: segfault at bf30e534 eip b7f51b4c esp bf30e510 error 6
==> auth.log <==

[Code]....

View 1 Replies View Related

Ubuntu :: How To Restart SSHD Server - Where To Put Keys

Aug 25, 2010

At first I thought that the following command will restart my sshd server:
/etc/init.d/sshd restart
but there is no "sshd" server in this directory.

How else do I (re)start the ssh server? How can I get the version/release number of the sshd server? Where (in which directory) should I put SSH keys?

View 1 Replies View Related

Ubuntu :: Sshd Not Running, Ssh Connection Refused?

Mar 13, 2011

I have been trying for weeks to solve this one and have researched everywhere I know to look. Nothing has helped. I am trying to ssh to my other machine (machine1=galla, machine2=cachin). Both run Maverick Meerkat 10.10. I get the following error when trying to ssh to galla:ssh: connect to host galla port 22: Connection refused

uname -a outputs:Linux galla 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC 2011 x86_64 GNU/LinuxAlso, sshd does not stay running. I can start it, but a ps tells me it is never running. I imagine herein lies the problem. But why won't it stay running?I am not running any firewall on galla (iptables -L told me that).P.S. I can sucessfully ssh out of galla to cachin. And, even if I just try to ssh localhost on galla, same thing happens.

View 9 Replies View Related

Networking :: No Sshd Access From Outside LAN?

Jan 19, 2011

I can't ssh into my Dad's machine. He can ssh in from another computer on his network, but I can't get in across the internet. I thought we had port forwarding set up correctly on his router. (Westell 327W running verizon software - sshd application, port 22 to port 22, tcp).

I can exchange keys with his server but I get. "Permission denied, please try again" when I try and login. An nmap scan (with -PN option) on his IP shows the open port.

PORT STATE SERVICE
22/tcp open ssh

View 8 Replies View Related

Server :: 14 On Amazon EC2 EBS - Sshd ?

Feb 22, 2011

I've got Fedora 14 running on an EBS volume on Amazon EC2. I've created a few users and enabled port 22. When I set a password for these users, they can successfully ssh into the instance; even if they logout and login again....until:

If I reboot the machine, they can no longer ssh into the machine (permission denied). If I issue the passwd <user> command and change their passwords, they can login again....until I reboot the machine at which time they cannot login again until I change their passwords. The problem exists even from the machine. That is, if root attempts to ssh into 127.0.0.1 using their username/password, the same problem/resolution exists.

View 2 Replies View Related

CentOS 5 :: Get SSHD To Log EVERYTHING To It's Own Log File?

Jan 22, 2011

How do I get SSHD to log EVERYTHING to it's own log file? I tried this in sshd_conf:

SyslogFacility SSHDLOG
LogLevel DEBUG

View 3 Replies View Related

Ubuntu Security :: Sshd And Hosts.deny Not Always Observed?

Jan 18, 2010

I'm having troubles trying to understand this problem:my homeserver until yesterday had a public IP, staying on network, with sshd running and all was fine;this evening I changed the IP, giving it a local lan address, and what happened if I tried to connect to it by ssh?I got an error about "Connection closed by remote host". Google helped me finding that was regarded to hosts.deny file, that was actually containing a lineALL:ALLthat I commented, and all was fine.My question is: why the hosts.deny (that has never changed) was observed only with the local IP?I tried to switch back to the public IP and leaving ALL:ALL, and it did connect without any problem

View 1 Replies View Related

Ubuntu Servers :: SSHD Will Not Start After Recent Update

Jun 13, 2010

Updated two SSH packages today and now SSHd wont start. Worked fine an hour ago, and I'm still logged onto the server via pre-existing SSH sessions, but now I obviously cannot start new ones.

Code:
paine@pandora:~$ sudo /etc/init.d/ssh start
* /dev/null is not a character device!
paine@pandora:~$

View 9 Replies View Related

Ubuntu Security :: Sshd Logs And Connection Ports ?

Feb 9, 2011

What is happening when I log in to my Ubuntu server machine via ssh and putty. trying to understand everything, primarily securing my server.

I have specified the ssh server to listen on port 5525, and can login without a problem.

When I look at the logs though it says I connected from xxx.xx.xx.xx on port 53602.

What is happening here and why is the logged connection a different port to the one specified in the config file?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved