Re: ssh in network

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Ballon
Date:  
To: Main PLUG discussion list
Subject: Re: ssh in network
I spun up an ubuntu-desktop VM. At least the desktop distro does not
have sshd installed.

Try "sudo apt-get install openssh--server"

I also noticed the ubuntu doesn't use v5 init scripts so I guess it's
"service ssh start", although after I installed it with the apt
command above it was already running.



On Thu, Mar 29, 2012 at 1:43 PM, Michael Havens <> wrote:
> Thanks for the help Mike. But it didn't work.
>
>  bmike1@Michaels-PC:~$ sudo /etc/init.d/sshd start
>  sudo: /etc/init.d/sshd: command not found
>
> I'm pretty dure that is because openssh-server Doesn't seem to be installed.
> I tried installing it but it won't install. I think it because it can't
> remove
>
>  linux-image-3.0.0-15-generic
>  linux-image-3.0.0-16-generic
>  linux-image-3.0.0-17-generic
>
>
> On Thu, Mar 29, 2012 at 5:54 AM, Mike Ballon <> wrote:
>>
>> I don't have an ubuntu box to show output exactly, hopefully this will
>> get you what you need just the same...
>>
>> type "netstat -a | grep ssh" on the print server host, you should get
>> something like this:
>>
>> tcp        0      0 *:ssh                       *:*
>>     LISTEN
>>
>> If you don't see the output above, then ssh is not listen and you'll
>> need to type "sudo /etc/init.d/sshd start"
>>
>> Try the netstat command again...
>>
>> If, in the first time running netstat you DID see the output, check
>> your firewall by typing "sudo /sbin/iptables -L | grep ssh", you
>> should see something like this:
>>
>> ACCEPT     tcp  --  10.0.0.0/8           anywhere            state NEW
>> tcp dpt:ssh
>>
>> If all that is correct the last thing to check is tcp wrappers, which
>> probably are not as common as you once where, just cat out
>> /etc/hosts.allow and /etc/hosts.deny for any related content.
>>
>> Cheers!
>>
>> On Tue, Mar 27, 2012 at 7:19 PM, Michael Havens <> wrote:
>> > Okay.... I figured out why the virtual (debian) couldn't ssh to the host
>> > (mint). I didn't have openssh-server installed in the mint. Now they are
>> > talking with each other nicely! Unfortunately I can't go from the either
>> > of
>> > those to the print-server (ubuntu). The errors given from both computers
>> > is
>> > 'connection timed out'.
>> > I can ssh from the ubuntu to  to the debian and the mint with no
>> > problem.
>> > When I verified that openssh-server was installed on the ubuntu with apt
>> > it
>> > said:
>> >
>> >      openssh-server is already the newest version.
>> >      openssh-server set to manually installed.
>> >
>> > So I'm not too sure what that means. I think that is saying that the
>> > downloaddd package is the newest version but it isn't installed! If I'm
>> > correect on that point how do I install it and another question I have
>> > is
>> > how do I get it to load on boot? I think that installing it will take
>> > care
>> > of that but I just want to make sure.
>> > --
>> > :-)~MIKE~(-:
>> >
>> > ---------------------------------------------------
>> > PLUG-discuss mailing list -
>> > To subscribe, unsubscribe, or to change your mail settings:
>> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>
>
> --
> :-)~MIKE~(-:
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss