Re: [ilugd] Error in SSH POrt 22 is Closed

2006-01-23 Thread [EMAIL PROTECTED]
विवेक ऐय्यर விவெக ஐய்யர் Vivek Iyyer wrote:
 ok this actually means.. that you have ssh-client installed but not ssh server
 To install ssh server package, you need to run this command line or
 use synaptic/any apt tool to install openssh-server .
 
 command
 apt-get install openssh-server
 /command
 
 Hope this helps
 cheers
 Vivek

Yes it does and everything is up and running

Thanks
ram
 


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] Error in SSH POrt 22 is Closed

2006-01-23 Thread Naresh Narang


--- [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 
 Can I edit ssh_config and remove the # in front of
 the line
 Host *
 #   ForwardAgent no
 big snip
 #   IdentityFile ~/.ssh/id_dsa
 #   *Port 22*
 #   Protocol 2,1


Can you post the output of rpm -qa|grep ssh



-- Naresh

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] Error in SSH POrt 22 is Closed

2006-01-23 Thread [EMAIL PROTECTED]
Naresh Narang wrote:
Can I edit ssh_config and remove the # in front of
the line
Host *
#   ForwardAgent no
big snip
#   IdentityFile ~/.ssh/id_dsa
#   *Port 22*
#   Protocol 2,1
 
 
 
 Can you post the output of rpm -qa|grep ssh
 
here it is
[EMAIL PROTECTED]:~$ rpm-qa|grep ssh
bash: rpm-qa: command not found
[EMAIL PROTECTED]:~$ rpm-qa |grep ssh
bash: rpm-qa: command not found
[EMAIL PROTECTED]:~$ rpm-qa | grep ssh
bash: rpm-qa: command not found


anyway the solution's been posted in one of the previous mails
meaning it just had to install openssh-server and that solved this 
particular problem

thanks
ram


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] Error in SSH POrt 22 is Closed

2006-01-23 Thread V Vivek
Ram,
Ubuntu package management does not support rpm(redhat package manager). 
in ubuntu
command
 dpkg -L openssh-server
dokg -L packagename
/command
would give you similar results.


[EMAIL PROTECTED] wrote:

Naresh Narang wrote:
  

Can I edit ssh_config and remove the # in front of
the line
Host *
#   ForwardAgent no
big snip
#   IdentityFile ~/.ssh/id_dsa
#   *Port 22*
#   Protocol 2,1
  


Can you post the output of rpm -qa|grep ssh



hey you missed the spaces here it's
command
rpm -qa |grep packagename
/command

here it is
[EMAIL PROTECTED]:~$ rpm-qa|grep ssh
bash: rpm-qa: command not found
[EMAIL PROTECTED]:~$ rpm-qa |grep ssh
bash: rpm-qa: command not found
[EMAIL PROTECTED]:~$ rpm-qa | grep ssh
bash: rpm-qa: command not found

  



___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] Error in SSH POrt 22 is Closed

2006-01-23 Thread [EMAIL PROTECTED]
V Vivek wrote:
 Ram,
 Ubuntu package management does not support rpm(redhat package manager). 
 in ubuntu
 command
  dpkg -L openssh-server
 dokg -L packagename
 /command
 would give you similar results.
 

 Can you post the output of rpm -qa|grep ssh
 
 

Hi Vivek,

*The solution you provided earlier worked well* ,it took me about 10 
seconds or less per machine. So no worries,

I did not want to sound rude, by not answering, when someone was asking 
for outputs to help so I posted it. and also said that my problem has 
already been solved by an earlier

Thanks for the dpkg solution, will do it for other programmes.

cheers
ram

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] Error in SSH POrt 22 is Closed

2006-01-22 Thread [EMAIL PROTECTED]
V Vivek wrote:
 Ram,
 You need to start the ssh daemon for the port to be open for access.
 
How ???

[EMAIL PROTECTED]:~$ ssh -X [EMAIL PROTECTED]
ssh: connect to host 192.168.0.9 port 22: Connection refused
[EMAIL PROTECTED]:~$
   
 
 This means that sshhd is not running. try starting it using command 
 //etc/init.d/ssh start /command
 
There is no directory / file like that as below:

[EMAIL PROTECTED]:~$ ls /etc/init.d/s*
/etc/init.d/screen-cleanup  /etc/init.d/skeleton   /etc/init.d/sysklogd
/etc/init.d/sendsigs/etc/init.d/stop-bootlogd
/etc/init.d/single  /etc/init.d/sudo
[EMAIL PROTECTED]:~$
however there is
[EMAIL PROTECTED]:~$ ls /etc/ssh
moduli  ssh_config
[EMAIL PROTECTED]:~$
  so in this case how do I start it up.

Can I edit ssh_config and remove the # in front of the line
Host *
#   ForwardAgent no
big snip
#   IdentityFile ~/.ssh/id_dsa
#   *Port 22*
#   Protocol 2,1
big snip

would this work

Though I think there is something amiss in this method.

Also would I need to similaly start other services ,
thanks
ram



___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] Error in SSH POrt 22 is Closed

2006-01-22 Thread विवेक ऐय ्यर விவெக ஐய்யர் Vivek Iyyer
On 1/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 V Vivek wrote:
  Ram,
  You need to start the ssh daemon for the port to be open for access.
 
 How ???

 [EMAIL PROTECTED]:~$ ssh -X [EMAIL PROTECTED]
 ssh: connect to host 192.168.0.9 port 22: Connection refused
 [EMAIL PROTECTED]:~$
 
 
  This means that sshhd is not running. try starting it using command
  //etc/init.d/ssh start /command
 
 There is no directory / file like that as below:

 [EMAIL PROTECTED]:~$ ls /etc/init.d/s*
 /etc/init.d/screen-cleanup  /etc/init.d/skeleton   /etc/init.d/sysklogd
 /etc/init.d/sendsigs/etc/init.d/stop-bootlogd
 /etc/init.d/single  /etc/init.d/sudo
 [EMAIL PROTECTED]:~$
 however there is
 [EMAIL PROTECTED]:~$ ls /etc/ssh
 moduli  ssh_config
 [EMAIL PROTECTED]:~$
   so in this case how do I start it up.

 Can I edit ssh_config and remove the # in front of the line
 Host *
 #   ForwardAgent no
 big snip
 #   IdentityFile ~/.ssh/id_dsa
 #   *Port 22*
 #   Protocol 2,1
 big snip

 would this work

 Though I think there is something amiss in this method.

 Also would I need to similaly start other services ,
 thanks
 ram

ok this actually means.. that you have ssh-client installed but not ssh server
To install ssh server package, you need to run this command line or
use synaptic/any apt tool to install openssh-server .

command
apt-get install openssh-server
/command

Hope this helps
cheers
Vivek

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



[ilugd] Error in SSH POrt 22 is Closed

2006-01-21 Thread [EMAIL PROTECTED]
Hi

I recently upgraded, 3 machines, to Ubuntu 5.10 Breezy. I cannot use ssh 
to connect to other computers using 5.10 on the network. The following 
is the error message

 [EMAIL PROTECTED]:~$ ssh -X [EMAIL PROTECTED]
 ssh: connect to host 192.168.0.9 port 22: Connection refused
 [EMAIL PROTECTED]:~$

I did a port scan and found that the following services were open on the 
machine

PortState   Service
139 opennetbios-ssn
445 openmicrosoft-ds

On another machine running Ubuntu 5.04 Hoary
the following ports are open
PortState   Service
22  openssh
25  opensmtp
53  opendomain
110 openpop3
111 opensunrpc
139 opennetbios-ssn
445 openmicrosoft-ds
697 openunknown
886 openunknown
2049openunknown

So two queries
1 How do i get the ports to be open
and
2. What are the implications of these various open ports and do I need 
to close any of them

thanks
ram


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] Error in SSH POrt 22 is Closed

2006-01-21 Thread V Vivek
Ram,
You need to start the ssh daemon for the port to be open for access.

[EMAIL PROTECTED] wrote:

Hi

I recently upgraded, 3 machines, to Ubuntu 5.10 Breezy. I cannot use ssh 
to connect to other computers using 5.10 on the network. The following 
is the error message

  

[EMAIL PROTECTED]:~$ ssh -X [EMAIL PROTECTED]
ssh: connect to host 192.168.0.9 port 22: Connection refused
[EMAIL PROTECTED]:~$



  

This means that sshhd is not running. try starting it using command 
//etc/init.d/ssh start /command
/

I did a port scan and found that the following services were open on the 
machine

Port   State   Service
139opennetbios-ssn
445openmicrosoft-ds

On another machine running Ubuntu 5.04 Hoary
the following ports are open
Port   State   Service
22 openssh
25 opensmtp
53 opendomain
110openpop3
111opensunrpc
139opennetbios-ssn
445openmicrosoft-ds
697openunknown
886openunknown
2049   openunknown

So two queries
1 How do i get the ports to be open
and
2. What are the implications of these various open ports and do I need 
to close any of them

  

The implication of various open ports are the various services being 
delivered in the computer or across the server. If the services are 
unused in a publicly accesible IP address the implications could be that 
these are the possibly areas of access and possible exploitable areas 
for cracker/h4x0r.

Cheers
Vivek

thanks
ram


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

  



___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/



Re: [ilugd] Error in SSH POrt 22 is Closed

2006-01-21 Thread Gaurav Mishra
u need to get sshd dameon on.
On ubuntu shld work #sudo sshd 

make sure ssh server is installed, for this #sudo apt-get install ssh.



On 1/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi

 I recently upgraded, 3 machines, to Ubuntu 5.10 Breezy. I cannot use ssh
 to connect to other computers using 5.10 on the network. The following
 is the error message

  [EMAIL PROTECTED]:~$ ssh -X [EMAIL PROTECTED]
  ssh: connect to host 192.168.0.9 port 22: Connection refused
  [EMAIL PROTECTED]:~$

 I did a port scan and found that the following services were open on the
 machine

 PortState   Service
 139 opennetbios-ssn
 445 openmicrosoft-ds

 On another machine running Ubuntu 5.04 Hoary
 the following ports are open
 PortState   Service
 22  openssh
 25  opensmtp
 53  opendomain
 110 openpop3
 111 opensunrpc
 139 opennetbios-ssn
 445 openmicrosoft-ds
 697 openunknown
 886 openunknown
 2049openunknown

 So two queries
 1 How do i get the ports to be open
 and
 2. What are the implications of these various open ports and do I need
 to close any of them

 thanks
 ram


 ___
 ilugd mailinglist -- ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/




--
Smooth Sea Never makes a Skilled Mariner
Linux User #348873
http://gauravmishra.modblog.com
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/