Re: Disable SSH authentication
- From: "Serguei A. Mokhov" <mokhov@xxxxxxxxxxxxxxx>
- Date: Wed, 15 Oct 2008 14:46:49 -0400 (EDT)
On Tue, 14 Oct 2008, Christian Grunfeld wrote:
Date: Tue, 14 Oct 2008 16:46:14 -0300
quote=" . . so that we don't need to either provide user account . . "
that is what chaoson said !
Personally, I interpreted that sentence of chaoson to mean "type in user
credentials". My undestanding of the problem is that they need to run,
perhaps in unattended/scripted mode, some commands on the remote machine
without having to interactively enter any credetials (which passphraseless
ssh authentication would easily achieve, but perhaps chaoson did not
figure it out yet how it works).
With rsh you must provide user and password on the remote host ! also
like telnet !
I remember to all of you that rsh or telnet are an input/output
redirection of a console thru sockets ! !
You don't at all need to have a user account with telnet. As you said it's
an I/O redirection through sockets, so you can have written a perl script
or a C program (or anything really that can listen on sockets) that
listens on a sepcified port, and interprets commands send to it through a
telnet client connecting to that port.
(In fact we do something like that for hardware snapshot inventory of our
computers (like video card, disk size, etc), which does not require a user
account and is OK to transmit in clear. We map standart input commands to
a small subset of commands to query to hardware spec, and send it back.
For that you don't even need to have a telnet client, but can write your
own little shell that transmits and receives packets.)
-s
cheers
2008/10/14 Kosala Atapattu <kosala.atapattu@xxxxxxxxx>:
running commands with Netcat... even wierder....
This is not the answer to your question. May be you can try good old
"rsh" with the "hosts.allowed"... In some internal networks (withing
the same net zone) I have used that lot... where security is not much
of a concern.
Kosala
2008/10/14 Christian Grunfeld <christian.grunfeld@xxxxxxxxx>:
Hi,
strange question in a ssh discussion list !
May be you can use netcat on both sides with standar input and output
redirected from/to a console.
Cheers
Christian
2008/10/13, chaoson <chaosonou@xxxxxxxxxxxx>:
Hi,
I'm running openssh-4.3p2.
I need to ability to run a command on trusted machine remotely. So far as I know, we can use two ways to login to remote machine:
1) Provide user name and password
2) Public key authentication
My question is that can we disable the SSH authentication so that
we don't need to either provide user account or the public key? Does
anyone has the idea? Thanks
--
Serguei A. Mokhov | /~\ The ASCII
Computer Science Department | \ / Ribbon Campaign
Concordia University | X Against HTML
Montreal, Quebec, Canada | / \ Email!
- Follow-Ups:
- Re: Disable SSH authentication
- From: Christian Grunfeld
- Re: Disable SSH authentication
- References:
- Disable SSH authentication
- From: chaoson
- Re: Disable SSH authentication
- From: Christian Grunfeld
- Re: Disable SSH authentication
- From: Kosala Atapattu
- Re: Disable SSH authentication
- From: Christian Grunfeld
- Disable SSH authentication
- Prev by Date: Re: How to proxy http from a secured site via a reverse-tunnel?
- Next by Date: Re: Disable SSH authentication
- Previous by thread: Re: Disable SSH authentication
- Next by thread: Re: Disable SSH authentication
- Index(es):
Relevant Pages
|