shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] TELNET


From: Alexandre Jeronimo Correa(sAbBaThCop)
Subject: Re: [shell-script] TELNET
Date: Sat, 13 Jan 2001 15:51:09 -0200

bom quanto ao login sem pedir senha não sei.... mas pra executar comandos, é
soh mudar a shell do login dentro do PASSWD ... tipo deve ser /bin/bash(ou
algo) ai vc cria um arquivo com os comandos que quer executar e poe no lugar
do /bin/bash ....


[]'s

Anderson wrote:

>    ESTOU QUERENDO FAZER UM SCRIPT QUE DE TELNET E O USUARIO NAO PRECISE
> DIGITAR SENHA E LOGO DEPOIS DE ENTRAR ELE EXECUTA ALGUNS COMANDOS NO
> SERVIDOR,E A UM LOGOUT.EU JA VI UM PARECIDO COM FTP NO LIVRO DO JULIO MAS
> COM TELNET OU SSH NAO ESTOU CONSEGUINDO.SE ALGUEM PUDER  ME AJUDAR
> AGRADECO.O SCRIPT SERIA MAIS OU MENOS ASSIM:
>
>    TELNET 1.2.3.4 -L BCSAMS <<EOF
>    SENHA
>   SLEEP 2
>
>   "COMANDOS"
>
>    EXIT
>
> EOF
>
> Sair da lista: address@hidden
> Banco Dados:   http://www.egroups.com/group/shell-script

--
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!                     .__        __                  !!!
!!!   ______ ___________|__|______/  |_  ___________   !!!
!!!  /  ___// ___\_  __ \  \____ \   __\/ __ \_  __ \  !!!
!!!  \___ \\  \___|  | \/  |  |_> >  | \  ___/|  | \/  !!!
!!! /____  >\___  >__|  |__|   __/|__|  \___  >__|     !!!
!!!      \/     \/         |__|             \/         !!!
!!!                             The IRC Planet         !!!
!!!             http://www.scripter.com.br             !!!
!!!       sAbBaThCop - address@hidden       !!!
!!!    #Scripts - Atendimento #Scripts BrasIRC.net     !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]