Re: Disable SSH authentication



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!



Relevant Pages

  • Re: TN3270 *from* a host??
    ... It allows the end user to send commands to the TELNET server, ... "Reverting to linemode" implies that, somehow, the SNA session ...
    (bit.listserv.ibm-main)
  • Re: Using port 23 and issuing telnet commands...
    ... this is a method I once used to execute shell commands on a unix machine. ... public bool Exec(string Command, string Host, int Port,string UN, string ... > I've Googled until my eyes hurt looking for a way to issue Telnet ... > go to a telnet client and use it internally. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Expect scripting
    ... is that if the command is entered with the arguements ... ,then the script would telnet to and login then transfer control back ... script file is capturing the shell cmd line and the commands are never ... sent to the telnet session. ...
    (comp.lang.tcl)
  • Re: Matching long strings doesnt work
    ... longer commands, ie go from 1024 to 16K characters. ... Below here is one version of the script I'm testing. ... # I usually telnet to the same computer, but I can change if I want to. ... It's going to take a long time to send out 16K characters but give it a shot. ...
    (comp.lang.tcl)