Re: [gentoo-user] SSH permission question (AGAIN)

2003-11-11 Thread Stephen Liu
Hi MAL and folks, Because of SSH being unstable in operation I upgraded it to the latest packages on RH9 box as follows; openssh-3.7.1p2-1.i386.rpm openssh-clients-3.7.1p2-1.i386.rpm openssh-askpass-3.7.1p2-1.i386.rpm openssh-askpass-gnome-3.7.1p2-1.i386.rpm

Re: [gentoo-user] SSH permission question (AGAIN)

2003-11-11 Thread MAL
Stephen Liu wrote: Hi MAL and folks, snip On Gentoo box === As USER *** $ ssh -X [EMAIL PROTECTED] [EMAIL PROTECTED]'s password: -bash-2.05b$ konqueror konqueror: cannot connect to X server Firstly, something you should understand. There are two ways to do what you are attempting, and

Re: [gentoo-user] SSH permission question (AGAIN)

2003-11-11 Thread Stephen Liu
Hi MAL, Thanks for your advice. Your method 'One' worked. But method 'Two' did not work, running 'xterm' displaying it on machineB only NOT on machineA disregard whether firewall on machineA was up or down. Sorry, I have to explain what I was trying to achieve in this few days. I need from

Re: [gentoo-user] SSH permission question

2003-11-10 Thread MAL
Stephen Liu wrote: PC1-RH9 box == Recently I am testing Shorewall 1.4.7 on this box so that there are 2 firewalls, Shorewall and Iptables, running on the same box but without conflict. I have configured Shorewall 1.4.7 including IP masquerading leaving Iptables untouched as default

Re: [gentoo-user] SSH permission question

2003-11-09 Thread Stephen Liu
Hi Andrej, Stroller and others Finally I discover the cause of the problem but still there are some minor problems remained unsolved. PC1-RH9 box == Recently I am testing Shorewall 1.4.7 on this box so that there are 2 firewalls, Shorewall and Iptables, running on the same box but

Re: [gentoo-user] SSH permission question

2003-11-09 Thread Stroller
On Nov 9, 2003, at 12:28 am, Stephen Liu wrote: - snip - $ sudo grep -i Root /etc/ssh/sshd_config Password(enter satimis password) sendmail: Cannot open mail:25 satimis is not in the sudoers file. This incident will be reported. The sudo is for a regular user to have root permissions. The

Re: [gentoo-user] SSH permission question

2003-11-09 Thread Stephen Liu
Hi Stroller, Can you ssh into that machine as regular user..? Yes. I use it quite often $ ssh -X [EMAIL PROTECTED] [EMAIL PROTECTED]'s password: Permission denied, please try again. [EMAIL PROTECTED]'s password: Last login: Sun Nov 9 00:08:54 2003 from localhost.localdomain So clearly you

Re: [gentoo-user] SSH permission question

2003-11-08 Thread Stroller
On Nov 7, 2003, at 12:00 pm, Stephen Liu wrote: # ssh -l root 192.168.0.2 ssh: connect to host 192.168.0.2 port 22: Connection refused How to get it connected? Thanks try to start the ssh daemon on the box you want to connect to: /etc/init.d/sshd start SSH already started on both boxes. $ ssh

Re: [gentoo-user] SSH permission question

2003-11-08 Thread Stephen Liu
Hi Stroller, Thanks for your advice. - snip - SSH already started on both boxes. $ ssh -X [EMAIL PROTECTED] # ssh -X [EMAIL PROTECTED] all work on both boxes including starting X server on the same box. $ sudo grep -i Root /etc/ssh/sshd_config PermitRootLogin no #PermitRootLogin yes $ sudo

Re: [gentoo-user] SSH permission question

2003-11-08 Thread Stroller
On Nov 8, 2003, at 4:47 pm, Stephen Liu wrote: Hi Stroller, Thanks for your advice. - snip - # ssh -l root 192.168.0.2 ssh: connect to host 192.168.0.2 port 22: Connection refused How to get it connected? Thanks $ sudo grep -i Root /etc/ssh/sshd_config Password(enter satimis password)

Re: [gentoo-user] SSH permission question

2003-11-08 Thread Stephen Liu
- snip - $ sudo grep -i Root /etc/ssh/sshd_config Password(enter satimis password) sendmail: Cannot open mail:25 satimis is not in the sudoers file. This incident will be reported. The sudo is for a regular user to have root permissions. The user needs to be in the sudoers file needs to

Re: [gentoo-user] SSH permission question

2003-11-08 Thread Andrej Kacian
On Sun, 09 Nov 2003 08:28:59 +0800 Stephen Liu [EMAIL PROTECTED] wrote: # sudo grep -i Root /etc/ssh/sshd_config #PermitRootLogin yes Shouldn't that be uncommented (without leading '#') ? -- /~\ The ASCIIAndrej Ticho Kacian andrej at kacian dot sk \ / Ribbon Campaign GnuPG public

Re: [gentoo-user] SSH permission question

2003-11-07 Thread Erwin Lang
Am Freitag, 7. November 2003 09:26 schrieb Stephen Liu: Hi folks, I have 2 boxes connected with a crossover cable for broadband sharing. Both of them can ping to each other.  Broadband sharing has no problem. PC1 - RH9 eth0 - connected to broadband eth1 - connected to PC-2,  IP 192.168.0.1

Re: [gentoo-user] SSH permission question

2003-11-07 Thread Stephen Liu
Hi Erwin, Am Freitag, 7. November 2003 09:26 schrieb Stephen Liu: Hi folks, I have 2 boxes connected with a crossover cable for broadband sharing. Both of them can ping to each other. Broadband sharing has no problem. PC1 - RH9 eth0 - connected to broadband eth1 - connected to PC-2, IP

Re: [gentoo-user] SSH permission question

2003-11-07 Thread Thomas Buntrock
On Fri, Nov 07, 2003 at 08:00:34PM +0800, Stephen Liu wrote: Hi Erwin, Am Freitag, 7. November 2003 09:26 schrieb Stephen Liu: Hi folks, I have 2 boxes connected with a crossover cable for broadband sharing. Both of them can ping to each other. Broadband sharing has no problem.

Re: [gentoo-user] SSH permission question

2003-11-07 Thread Stephen Liu
Hi Thomas, SSH already started on both boxes. $ ssh -X [EMAIL PROTECTED] # ssh -X [EMAIL PROTECTED] all work on both boxes including starting X server on the same box. Do you have a packetfilter installed on your gentoo box blocking the inbound traffic to port 22? After uncomment the line

Re: [gentoo-user] SSH permission question

2003-11-07 Thread Thomas Buntrock
On Fri, Nov 07, 2003 at 08:37:00PM +0800, Stephen Liu wrote: Hi Thomas, SSH already started on both boxes. $ ssh -X [EMAIL PROTECTED] # ssh -X [EMAIL PROTECTED] all work on both boxes including starting X server on the same box. Do you have a packetfilter installed on your gentoo

Re: [gentoo-user] SSH permission question

2003-11-07 Thread Stephen Liu
Hi Thomas, Thomas Buntrock wrote: After uncomment the line iface_eth1=207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0 on /etc/conf.d/net of PC2-Gentoo box, both box can ping each other Now on PC2-Gentoo box /etc/conf.d/net iface_eth0=192.168.0.2 broadcast 192.168.0.255 netmask

Re: [gentoo-user] SSH permission question

2003-11-07 Thread Ernie Schroder
On Friday 07 November 2003 11:16 am, Stephen Liu wrote: Hi Thomas, Thomas Buntrock wrote: After uncomment the line iface_eth1=207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0 on /etc/conf.d/net of PC2-Gentoo box, both box can ping each other Now on PC2-Gentoo box

Re: [gentoo-user] SSH permission question

2003-11-07 Thread Stephen Liu
Ernie Schroder wrote: Looks like your sshd does not allow X-connections. Check in your /etc/ssh/sshd_config for this option. X11Forwarding yes Now it looks to me a little bid funny. The tide has changed, the other way round PC2-Gentoo box can ssh-connect PC1-RH9 box and start the