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


>Can you run on both servers:
># apt-get install nmap
>Then on each server:
># nmap -PN 192.168.0.3
># nmap -PN 192.168.0.4
>and post that?
 
bmike1@Michaels-PC:/etc/init.d$ sudo nmap -PN 192.168.0.3

Starting Nmap 5.21 ( http://nmap.org ) at 2012-03-31 12:38 MST
Nmap scan report for 192.168.0.3
Host is up (0.000045s latency).
Not shown: 992 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
80/tcp   open  http
139/tcp  open  netbios-ssn
443/tcp  open  https
445/tcp  open  microsoft-ds
631/tcp  open  ipp
5800/tcp open  vnc-http
5900/tcp open  vnc

Nmap done: 1 IP address (1 host up) scanned in 0.80 seconds
bmike1@Michaels-PC:/etc/init.d$ sudo nmap -PN 192.168.0.4

Starting Nmap 5.21 ( http://nmap.org ) at 2012-03-31 12:38 MST
Nmap scan report for Michaels-Laptop (192.168.0.4)
Host is up (0.0076s latency).
Not shown: 999 closed ports
PORT   STATE SERVICE
22/tcp open  ssh
MAC Address: 94:39:E5:11:B8:84 (Unknown)

Nmap done: 1 IP address (1 host up) scanned in 1.94 seconds
bmike1@Michaels-PC:/etc/init.d$



 
Michaels-Laptop ~ #
 The synaptic report is at 'a'.


  bmike1@Michaels-PC:~$ /etc/init.d/sshd start
  bash: /etc/init.d/sshd: No such file or directory
  bmike1@Michaels-PC:~$ ssh localhost
  ssh: connect to host localhost port 22: Connection refused
  bmike1@Michaels-PC:~$

# cd /etc/init.d/
# ls -al ssh*

It's called /etc/init.d/ssh in Ubuntu https://help.ubuntu.com/10.04/serverguide/C/openssh-server.html

bmike1@Michaels-PC:~$  cd /etc/init.d/
bmike1@Michaels-PC:/etc/init.d$  ls -al ssh*
-rwxr-xr-x 1 root root 4194 2011-07-29 09:02 ssh
bmike1@Michaels-PC:/etc/init.d$ cd ssh
bash: cd: ssh: Not a directory
bmike1@Michaels-PC:/etc/init.d$ sudo ssh start
[sudo] password for bmike1:  sat for five minutes
^Cbmike1@Michaels-PC:/etc/init.d$

Okay that's possibly a path issue.

if you are in the directory you would enter:

# sudo ./ssh start

otherwise
 
# sudo /etc/init.d/ssh start

Oh... I forgot the './' Bummer!  I thought this might make the ubuntu so that other machines could ssh into it but still connection times out.
 
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

Okay, you can do (verify ssh):
# /etc/init.d/ssh status
or
# netstat -antp |grep ssh
or
# ps -ef |grep ssh

Try your connection again! 

# 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
# tail /var/log/secure

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.


---------------------------------------------------
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



--
(503) 754-4452 Android
(623) 239-3392 Skype
(623) 688-3392 Google Voice
**
it-clowns.com