[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell executando shell em maquina remota
From: |
weberlf |
Subject: |
Re: shell executando shell em maquina remota |
Date: |
Thu, 10 Nov 2005 18:02:34 -0000 |
User-agent: |
eGroups-EW/0.82 |
> > /*
> > Necessito executar uma shell que se conecta em uma maquina
> remota
> > atraves de ssh com par de chaves ja criada e executar uma shell
> nesta
> > maquina remota e retornar concluindo a shell original.
> > */
> >
> > Dentro de seu script coloque algo como:
> > ssh usuario@host "comando"
> >
>
> Funcionou perfeito.
> Obrigado MrBiTs
>
MrBiTs, se puder me ajudar, ainda ficou um problema.
O script esta executando o script da outra maquina até
o fim porem o ssh continua pendurado. Como eu poderia fazer
para assim que acabar a execução da shell na maquina remota
desfazer a conecção ssh e terminar a shell original.
Weber
- shell executando shell em maquina remota, weberlf, 2005/11/10
- RE: [shell-script] shell executando shell em maquina remota, MrBiTs, 2005/11/10
- Re: shell executando shell em maquina remota, weberlf, 2005/11/10
- Re: shell executando shell em maquina remota,
weberlf <=
- RE: [shell-script] Re: shell executando shell em maquina remota, MrBiTs, 2005/11/10
- Re: shell executando shell em maquina remota, weberlf, 2005/11/10
- RE: [shell-script] Re: shell executando shell em maquina remota, MrBiTs, 2005/11/10
- Re: [shell-script] Re: shell executando shell em maquina remota, Geison Farias, 2005/11/10
- Re: shell executando shell em maquina remota, weberlf, 2005/11/11