ssh in network

2012-03-27 Thread Michael Havens
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 '

Re: ssh in network

2012-03-29 Thread Mike Ballon
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: tcp0 0 *:ssh *:* LISTEN If you don't see the output abo

Re: ssh in network

2012-03-29 Thread Michael Havens
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

Re: ssh in network

2012-03-30 Thread Mike Ballon
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 r

Re: ssh in network

2012-03-30 Thread Dazed_75
Make that: Try "sudo apt-get install openssh-server" On Fri, Mar 30, 2012 at 6:07 AM, Mike Ballon wrote: > 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

Re: ssh in network

2012-03-30 Thread Michael Havens
> Try sudo apt-get install openssh-server I've tried that and it won't install. I think it is because their are three packages in there that won't install (linux-image-3.0.0-15-generic, linux-image-3.0.0-16-generic, and linux-image-3.0.0-17-generic). How do I remove those packages? I just got a me

Re: ssh in network

2012-03-30 Thread Mike Ballon
Lets try the other route; what is your output to "dpkg --get-selections | grep openssh" ? Also post the output of dpkg --get-selections | grep linux-image" just for fun. On Fri, Mar 30, 2012 at 11:49 AM, Michael Havens wrote: >> Try sudo apt-get install openssh-server > I've tried that and it wo

Re: ssh in network

2012-03-30 Thread Michael Havens
dpkg --get-selections | grep openssh openssh-clientinstall openssh-serverdeinstall dpkg --get-selections | grep linux-image linux-image-3.0.0-12-genericinstall linux-image-3.0.0-14-genericinstall linux-image-3.0.0-15-generic

Re: ssh in network

2012-03-30 Thread Michael Havens
you know... I am having such problems that I think I should just reinstall everything. What do you think? On Fri, Mar 30, 2012 at 10:07 AM, Michael Havens wrote: > dpkg --get-selections | grep openssh > openssh-clientinstall > openssh-serverdeinstall > dp

Re: ssh in network

2012-03-30 Thread Mike Ballon
I'd say yes, not sure why there are two linux-image packages. Of course I'm not an ubuntu expert You can try to download the deb package yourself and install with dpkg with a --force for a last ditch effort. There is always grabbing the tarball and installing from source as well :) On Fri, Mar 30

Re: ssh in network

2012-03-30 Thread Lisa Kachold
Hi Mike, On Fri, Mar 30, 2012 at 6:58 PM, Mike Ballon wrote: > I'd say yes, not sure why there are two linux-image packages. Of > course I'm not an ubuntu expert You can try to download the deb > package yourself and install with dpkg with a --force for a last ditch > effort. There is always gr

Re: ssh in network

2012-03-31 Thread Michael Havens
>You don't need openssh-server, it's already installed. What does it mean when it says 'set to manually installed' when I type in 'apt-get install openssh-server'? and then tried to install openssh-server. Well I guess it kinda worked. I >> think it installed ssh-server because when I type in apt

Re: ssh in network

2012-03-31 Thread Lisa Kachold
On Sat, Mar 31, 2012 at 11:38 AM, Michael Havens wrote: > >You don't need openssh-server, it's already installed. > > What does it mean when it says 'set to manually installed' when I type in > 'apt-get install openssh-server'? > That means you "manually installed it". > > and then tried to in

Re: ssh in network

2012-03-31 Thread Michael Havens
> That means you "manually installed it". > I did? >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 >Can you run on both servers: ># apt-get install nmap >Then on each server: ># nmap -PN 192.168.0.3 ># nmap -

Re: ssh in network

2012-03-31 Thread Lisa Kachold
On Sat, Mar 31, 2012 at 12:58 PM, Michael Havens 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 >

Re: ssh in network

2012-03-31 Thread Michael Havens
On Sat, Mar 31, 2012 at 1:21 PM, Lisa Kachold wrote: > > > On Sat, Mar 31, 2012 at 12:58 PM, Michael Havens 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 >

Re: ssh in network

2012-03-31 Thread Lisa Kachold
Mike: On Sat, Mar 31, 2012 at 2:44 PM, Michael Havens wrote: > > > On Sat, Mar 31, 2012 at 1:21 PM, Lisa Kachold wrote: > >> >> >> On Sat, Mar 31, 2012 at 12:58 PM, Michael Havens wrote: >> >>> >>> That means you "manually installed it". >>> >>> I did? >>> >> >> Just remove it: >> >> # apt-

Re: ssh in network

2012-04-01 Thread Michael Havens
I was googling the 'no route to host' and found a suggestion to add a route that poimts to the routerr with the command 'sudo ip route add 192.168.1.0/24 dev eth0'. So I thought that sounded good but after I did not only could I not ssh out of the computer but I could no longer ssh into the comput

Re: ssh in network

2012-04-01 Thread Lisa Kachold
Reboot On Sun, Apr 1, 2012 at 3:25 PM, Michael Havens wrote: > I was googling the 'no route to host' and found a suggestion to add a > route that poimts to the routerr with the command 'sudo ip route add > 192.168.1.0/24 dev eth0'. So I thought that sounded good but after I did > not only could

Re: ssh in network

2012-04-01 Thread Lisa Kachold
I was googling the 'no route to host' and found a suggestion to add a route > that poimts to the routerr with the command 'sudo ip route add > 192.168.1.0/24 dev eth0'. So I thought that sounded good but after I did > not only could I not ssh out of the computer but I could no longer ssh into >

Re: ssh in network

2012-04-01 Thread Michael Havens
Now, instead of the 'no route to host' error I get a 'connection refused'. I still can't ssh to the ubuntu machine. it times out. On Sun, Apr 1, 2012 at 4:08 PM, Lisa Kachold wrote: > > > I was googling the 'no route to host' and found a suggestion to add a >> route that poimts to the routerr wi

Re: ssh in network

2012-04-01 Thread Lisa Kachold
Michael, did you follow every suggestion in the last email? Reboot check and verify network and ssh daemons including default routes on both machines verify that you have the right settings in your /etc/hosts.allow and /etc/hosts.deny files on both servers add /etc/hosts entries for all your machi

Re: ssh in network

2012-04-01 Thread Michael Havens
I'm doing your suggestions right now. I don't know how I missed them but after I sent the reply you are responding to I noticed them and started the implemetation of them. I did reboot and still ssh doesn't work. Just wait until you get the response to your suggestion email. Sorry about the co

Re: ssh in network

2012-04-01 Thread Michael Havens
>A route add command is not persistent past a reboot or network restart. It seems to have been. I rebooted and still can't ssh from the laptop to the ubuntu. > Mike, ONE of your systems is on your Wireless and the other is on the >> wired? Sometimes wireless to wired connections take longer tha

Re: ssh in network

2012-04-01 Thread Lisa Kachold
Okay Are you colorblind? Knowing one's limitations is good. Now you can watch to make sure you follow each email thread and address each item; I have noticed you miss things frequently. Linux troubleshooting is very specific; be careful to read the full thread, and respond inline. Let's ad

Re: ssh in network

2012-04-01 Thread Lisa Kachold
Sorry backwards; it should be "hosts: files dns" On Sun, Apr 1, 2012 at 7:28 PM, Lisa Kachold > Check your /etc/nsswitch.conf file to be sure it has > > "hosts: dns files" wrong see above > > Reference: http://www.faqs.org/docs/securing/chap6sec71.html > > Then ping each server befo

Re: ssh in network

2012-04-01 Thread Michael Havens
Okay Enrique, Lisa wants me to issue some commands on the host machine. Is this okay to do? On Sun, Apr 1, 2012 at 7:28 PM, Lisa Kachold wrote: > # sudo update-rc.d ssh defaults > > enter > # sudo iptables-save > You are looking to see if your iptables is up and configured to firewall > ssh. Dum

Re: ssh in network

2012-04-01 Thread Michael Havens
ignore that las t message guys I have a fellow pluger who had me agree not o modify the laptop without his knowledge because he is helping me with something that needs the laptop to stay stable. On Sun, Apr 1, 2012 at 9:50 PM, Michael Havens wrote: > Okay Enrique, Lisa wants me to issue some

Re: ssh in network

2012-04-02 Thread Michael Havens
On Sun, Apr 1, 2012 at 7:28 PM, Lisa Kachold wrote: >Are you colorblind? ^-- only slightly >respond inline. ^---not sure what you mean. >Let's address each item until we resolve things: On Sun, Apr 1, 2012 at 5:49 PM, Michae

Re: ssh in network

2012-04-02 Thread Michael Havens
guess what I just found out openssh-server wasn't installed on the laptop. So I installed it and now netstat has the same line on it that says port 22 sudo netstat -antp | grep 22 tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN 433/sshd However, I still can't ssh to th

Re: ssh in network

2012-04-02 Thread Dazed_75
server needs to be installed on any and all machines you want to ssh TO. Server is the component/daemon that listens for a request to connect. On Mon, Apr 2, 2012 at 12:55 PM, Michael Havens wrote: > guess what I just found out openssh-server wasn't installed on the > laptop. So I installed

Re: ssh in network

2012-04-02 Thread Michael Havens
server is installed on all of them. On Mon, Apr 2, 2012 at 2:45 PM, Dazed_75 wrote: > server needs to be installed on any and all machines you want to ssh TO. > Server is the component/daemon that listens for a request to connect. > > On Mon, Apr 2, 2012 at 12:55 PM, Michael Havens wrote: > >>

Re: ssh in network

2012-04-03 Thread Dazed_75
and yet your previous message was that you discovered it was not installed on the laptop. Hence my reminder that it needs to be on any box you want to ssh TO. [?] On Mon, Apr 2, 2012 at 11:08 PM, Michael Havens wrote: > server is installed on all of them. > > > On Mon, Apr 2, 2012 at 2:45 PM,

Re: ssh in network

2012-04-03 Thread Michael Havens
yep. I even checked againafter I got /home working. openssh-server is already the newest version. openssh-server set to manually installed. . On Tue, Apr 3, 2012 at 8:31 AM, Dazed_75 wrote: > and yet your previous message was that you discovered it was not installed > on the laptop. He