Re: [expert] SSH2 Between Mandrake 7.0 & RedHat 6.1

2000-03-29 Thread Scott Sprunger

Marcos Dione wrote:

> On Fri, 24 Mar 2000, Scott Sprunger wrote:
>
> > debug: Unable to open /home/ssprun1/.ssh2/identification
> > root@p6333's password:
> > debug: Ssh2/ssh2.c:304/client_authenticated: client_authenticated
> > debug: Requesting X11 forwarding with authentication spoofing.
>
> > Mar 23 23:05:48 p6333 sshd2[1213]: connection from "10.0.0.4"
> > Mar 23 23:06:18 p6333 sshd2[1318]: User root's local password accepted.
> > Mar 23 23:06:18 p6333 sshd2[1318]: Password authentication for user root
> > accepte
> > d.
> > Mar 23 23:06:18 p6333 sshd2[1318]: User root, coming from
> > pavilion.sprunger.com,
> >  authenticated.
>
> hi, this one is some old, but may be you had't solved it, so...
> here my 2 cents.
>
> try disabling X forwarding. As you put in your mail, it seems to
> stop in that point. use the -x option for this. er... but this is on ssh1.
> hope the same in ssh2. read the ssh amn page. there should tell you what
> option really is.
>
> good luck
>
> --
> "No tire sus colillas en el mingitorio, las humedece y
> las hace dificil de encender"
> "Do not dump butts in the wc. They dampen and it makes
> them difficult to light."
>   --Tom Sharpe, "Wilt on high"

Thank you very much!!! That did it.  If I specify -x on the client it works.
Apparently ssh2 client assumes you want X forwarding on by default.  That's
fine except that on the server I was trying to reach X isn't running.

Again much thanks,
Scott Sprunger


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com




Re: [expert] SSH2 Between Mandrake 7.0 & RedHat 6.1

2000-03-29 Thread Marcos Dione

On Fri, 24 Mar 2000, Scott Sprunger wrote:

> debug: Unable to open /home/ssprun1/.ssh2/identification
> root@p6333's password:
> debug: Ssh2/ssh2.c:304/client_authenticated: client_authenticated
> debug: Requesting X11 forwarding with authentication spoofing.

> Mar 23 23:05:48 p6333 sshd2[1213]: connection from "10.0.0.4"
> Mar 23 23:06:18 p6333 sshd2[1318]: User root's local password accepted.
> Mar 23 23:06:18 p6333 sshd2[1318]: Password authentication for user root
> accepte
> d.
> Mar 23 23:06:18 p6333 sshd2[1318]: User root, coming from
> pavilion.sprunger.com,
>  authenticated.

hi, this one is some old, but may be you had't solved it, so...
here my 2 cents.

try disabling X forwarding. As you put in your mail, it seems to
stop in that point. use the -x option for this. er... but this is on ssh1.
hope the same in ssh2. read the ssh amn page. there should tell you what
option really is.

good luck

-- 
"No tire sus colillas en el mingitorio, las humedece y
las hace dificil de encender"
"Do not dump butts in the wc. They dampen and it makes
them difficult to light."
  --Tom Sharpe, "Wilt on high"




Re: [expert] SSH2 Between Mandrake 7.0 & RedHat 6.1

2000-03-26 Thread John Aldrich

On Sun, 26 Mar 2000, you wrote:
> > Maybe Red Hat 6.1 won't let a remote root in?  Have you tried as a
> > regular user?
> Wondered about that myself.  I think root logins from remote are
> disabled by default in both distros.  To be root in another
> machine, login as a regular user and then su.
> 
But SSH is NOT a "telnet" or remote login as such. You actually BECOME the user
you specify when using SSH. i.e. if you do an "ssh2 -l root " you
are getting the same priveleges as if you were logged in as root from the local
console. That's one of the benefits of SSH over a regular telnet, is that you
CAN log in as "root" from remote, no matter whether or not remote logins as
root are permitted.
John



Re: [expert] SSH2 Between Mandrake 7.0 & RedHat 6.1

2000-03-26 Thread Civileme

Audrey Beck wrote:
> 
> Scott Sprunger wrote:
> >
> > Greetings all:
> >
> > I've scoured the list (at least the messages I've received since I
> > subscribed) and Deja.com (usenet) but have been unable to solve this
> > problem.  So here goes.
> >
> > I'm trying to ssh into a RedHat 6.1 server from my Mandrake 7.0 client.
> > I'm using the same rpm's on both that I pulled down from freshmeat.net.
> > I try to connect using ssh2 -l root -p 22 +C p6333.  The server then
> > prompts me for the password which I then enter.  Then it just sits there
> > and does nothing.  I can't even ctrl-c out of it.  I have to close the X
> > window.  If I start it with the -v option it gives me the following and
> > then sits there...
> >
> > [ssprun1@pavilion bin]$ ssh2 -l root -p 22 -v -C p6333
> > Development-time debugging not compiled in.
> > To enable, configure with --enable-debug and recompile.
> > debug: connecting to p6333...
> > debug: entering event loop
> > debug: ssh_client_wrap: creating transport protocol
> > debug: ssh_client_wrap: creating userauth protocol
> > debug: Remote version: SSH-1.99-2.0.13 (non-commercial)
> > debug: Host key found from the database.
> > debug: Unable to open /home/ssprun1/.ssh2/identification
> > root@p6333's password:
> > debug: Ssh2/ssh2.c:304/client_authenticated: client_authenticated
> > debug: Requesting X11 forwarding with authentication spoofing.
> >
> > And here is what shows up on the server in /var/log/messages -
> >
> > Mar 23 23:05:48 p6333 sshd2[1213]: connection from "10.0.0.4"
> > Mar 23 23:06:18 p6333 sshd2[1318]: User root's local password accepted.
> > Mar 23 23:06:18 p6333 sshd2[1318]: Password authentication for user root
> > accepte
> > d.
> > Mar 23 23:06:18 p6333 sshd2[1318]: User root, coming from
> > pavilion.sprunger.com,
> >  authenticated.
> > Mar 23 23:35:53 p6333 sshd2[1318]: Remote host disconnected: Connection
> > closed.
> > Mar 23 23:35:53 p6333 sshd2[1318]: connection lost: 'Connection closed.'
> >
> > I can pretty much eliminate the client because it can successfully
> > connect using the exact same command to an older RedHat 5.2 server.  But
> > the only difference in the two servers is the version of RedHat and that
> > fact that I had to rebuild the rpm's using the src.rpm and the --rebuild
> > option in rpm since my 5.2 server uses the old libc/glibc.  The only
> > thing I initially changed in both sshd2_config was the port number since
> > I have to use port 23 rathern than 22 in order to get through a firewall
> > at my office.  For testing I tried switching it back and testing without
> > a firewall but that didn't make any difference.
> >
> > I've also tried two or three suggestions I did find in the deja.com
> > archives but so far none of those have worked.  Anyone else have any
> > ideas?
> >
> > Cordially,
> > Scott Sprunger
> >
> > __
> > Do You Yahoo!?
> > Talk to your friends online with Yahoo! Messenger.
> > http://im.yahoo.com
> 
> Maybe Red Hat 6.1 won't let a remote root in?  Have you tried as a
> regular user?
Wondered about that myself.  I think root logins from remote are
disabled by default in both distros.  To be root in another
machine, login as a regular user and then su.

Civileme
-- 
Remember that if it is done on networks, it may occur on
your host which is a network unto itself.



Re: [expert] SSH2 Between Mandrake 7.0 & RedHat 6.1

2000-03-25 Thread Scott Sprunger

Audrey Beck wrote:

> Scott Sprunger wrote:
> >
> > Greetings all:
> >
> > I've scoured the list (at least the messages I've received since I
> > subscribed) and Deja.com (usenet) but have been unable to solve this
> > problem.  So here goes.
> >
> > I'm trying to ssh into a RedHat 6.1 server from my Mandrake 7.0 client.
> > I'm using the same rpm's on both that I pulled down from freshmeat.net.
> > I try to connect using ssh2 -l root -p 22 +C p6333.  The server then
> > prompts me for the password which I then enter.  Then it just sits there
> > and does nothing.  I can't even ctrl-c out of it.  I have to close the X
> > window.  If I start it with the -v option it gives me the following and
> > then sits there...
> >
> > [ssprun1@pavilion bin]$ ssh2 -l root -p 22 -v -C p6333
> > Development-time debugging not compiled in.
> > To enable, configure with --enable-debug and recompile.
> > debug: connecting to p6333...
> > debug: entering event loop
> > debug: ssh_client_wrap: creating transport protocol
> > debug: ssh_client_wrap: creating userauth protocol
> > debug: Remote version: SSH-1.99-2.0.13 (non-commercial)
> > debug: Host key found from the database.
> > debug: Unable to open /home/ssprun1/.ssh2/identification
> > root@p6333's password:
> > debug: Ssh2/ssh2.c:304/client_authenticated: client_authenticated
> > debug: Requesting X11 forwarding with authentication spoofing.
> >
> > And here is what shows up on the server in /var/log/messages -
> >
> > Mar 23 23:05:48 p6333 sshd2[1213]: connection from "10.0.0.4"
> > Mar 23 23:06:18 p6333 sshd2[1318]: User root's local password accepted.
> > Mar 23 23:06:18 p6333 sshd2[1318]: Password authentication for user root
> > accepte
> > d.
> > Mar 23 23:06:18 p6333 sshd2[1318]: User root, coming from
> > pavilion.sprunger.com,
> >  authenticated.
> > Mar 23 23:35:53 p6333 sshd2[1318]: Remote host disconnected: Connection
> > closed.
> > Mar 23 23:35:53 p6333 sshd2[1318]: connection lost: 'Connection closed.'
> >
> > I can pretty much eliminate the client because it can successfully
> > connect using the exact same command to an older RedHat 5.2 server.  But
> > the only difference in the two servers is the version of RedHat and that
> > fact that I had to rebuild the rpm's using the src.rpm and the --rebuild
> > option in rpm since my 5.2 server uses the old libc/glibc.  The only
> > thing I initially changed in both sshd2_config was the port number since
> > I have to use port 23 rathern than 22 in order to get through a firewall
> > at my office.  For testing I tried switching it back and testing without
> > a firewall but that didn't make any difference.
> >
> > I've also tried two or three suggestions I did find in the deja.com
> > archives but so far none of those have worked.  Anyone else have any
> > ideas?
> >
> > Cordially,
> > Scott Sprunger
> >
> > __
> > Do You Yahoo!?
> > Talk to your friends online with Yahoo! Messenger.
> > http://im.yahoo.com
>
> Maybe Red Hat 6.1 won't let a remote root in?  Have you tried as a
> regular user?

That was something I hadn't thought of so I tried it.  But unfortunately it
does the same thing.  Thank you for the suggestion though.

Cordially,
Scott Sprunger


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com




Re: [expert] SSH2 Between Mandrake 7.0 & RedHat 6.1

2000-03-25 Thread John Aldrich

On Sat, 25 Mar 2000, you wrote:
> Maybe Red Hat 6.1 won't let a remote root in?  Have you tried as a
> regular user?
>
That's the beauty of SSH. It bypasses the normal securities It shouldn't be
that, but it's worth a shot. 
John



Re: [expert] SSH2 Between Mandrake 7.0 & RedHat 6.1

2000-03-25 Thread Audrey Beck

Scott Sprunger wrote:
> 
> Greetings all:
> 
> I've scoured the list (at least the messages I've received since I
> subscribed) and Deja.com (usenet) but have been unable to solve this
> problem.  So here goes.
> 
> I'm trying to ssh into a RedHat 6.1 server from my Mandrake 7.0 client.
> I'm using the same rpm's on both that I pulled down from freshmeat.net.
> I try to connect using ssh2 -l root -p 22 +C p6333.  The server then
> prompts me for the password which I then enter.  Then it just sits there
> and does nothing.  I can't even ctrl-c out of it.  I have to close the X
> window.  If I start it with the -v option it gives me the following and
> then sits there...
> 
> [ssprun1@pavilion bin]$ ssh2 -l root -p 22 -v -C p6333
> Development-time debugging not compiled in.
> To enable, configure with --enable-debug and recompile.
> debug: connecting to p6333...
> debug: entering event loop
> debug: ssh_client_wrap: creating transport protocol
> debug: ssh_client_wrap: creating userauth protocol
> debug: Remote version: SSH-1.99-2.0.13 (non-commercial)
> debug: Host key found from the database.
> debug: Unable to open /home/ssprun1/.ssh2/identification
> root@p6333's password:
> debug: Ssh2/ssh2.c:304/client_authenticated: client_authenticated
> debug: Requesting X11 forwarding with authentication spoofing.
> 
> And here is what shows up on the server in /var/log/messages -
> 
> Mar 23 23:05:48 p6333 sshd2[1213]: connection from "10.0.0.4"
> Mar 23 23:06:18 p6333 sshd2[1318]: User root's local password accepted.
> Mar 23 23:06:18 p6333 sshd2[1318]: Password authentication for user root
> accepte
> d.
> Mar 23 23:06:18 p6333 sshd2[1318]: User root, coming from
> pavilion.sprunger.com,
>  authenticated.
> Mar 23 23:35:53 p6333 sshd2[1318]: Remote host disconnected: Connection
> closed.
> Mar 23 23:35:53 p6333 sshd2[1318]: connection lost: 'Connection closed.'
> 
> I can pretty much eliminate the client because it can successfully
> connect using the exact same command to an older RedHat 5.2 server.  But
> the only difference in the two servers is the version of RedHat and that
> fact that I had to rebuild the rpm's using the src.rpm and the --rebuild
> option in rpm since my 5.2 server uses the old libc/glibc.  The only
> thing I initially changed in both sshd2_config was the port number since
> I have to use port 23 rathern than 22 in order to get through a firewall
> at my office.  For testing I tried switching it back and testing without
> a firewall but that didn't make any difference.
> 
> I've also tried two or three suggestions I did find in the deja.com
> archives but so far none of those have worked.  Anyone else have any
> ideas?
> 
> Cordially,
> Scott Sprunger
> 
> __
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com

Maybe Red Hat 6.1 won't let a remote root in?  Have you tried as a
regular user?