![]() |
|
|
google unix.com
|
|||||||
| Forum | Registrati | Regole Forum | Collegamenti | Album | FAQ | Members List | Calendario | Ricerca | Today's Posts | Mark Forums Read |
| Shell scripting e di programmazione Pubblica domande su KSH, CSH, SH, Bash, Perl, PHP, sed, awk e da altri script di shell e linguaggi di scripting shell qui. |
Più di UNIX e Linux Forum Argomenti potreste trovare utili
|
||||
| Filo | Thread Starter | Forum | Risposte | Ultimo Post |
| Come eliminare i file da locale a remoto | krishna176 | SUN Solaris | 3 | 03-24-2007 04:48 PM |
| registrazione a un server remoto | Abey | Shell scripting e di programmazione | 6 | 03-21-2006 08:12 PM |
| Come specificare l'host remoto? | redlotus72 | UNIX for Dummies Domande & Risposte | 2 | 07-21-2005 06:21 AM |
| FTP - Connessione chiusa da remoto | mouglybean | Reti IP | 1 | 10-26-2004 10:15 AM |
| Ritardo durante l'accesso in remoto | alfabetman | UNIX for Dummies Domande & Risposte | 8 | 10-08-2001 11:55 AM |
![]() |
|
|
LinkBack | Thread Tools | Cerca in questo Thread | Rate Thread | Modalità di visualizzazione |
|
|
|
||||
|
Problema con la registrazione in remoto
Hi All,
Sto usando uno script per la registrazione in remoto in un rhost utilizzando telnet e spegnere il server. Lo script è il seguente. IP \u003d 10.24.12.23; esportazione IP Uname \u003d username; esportazione uname PWD \u003d password; esportazione PWD CRDIR \u003d / etc / rc.d / init.d; esportazione CRDIR echo "registrazione in remoto" ( telnet $ IP <<EOF $ Uname # nome utente per l'accesso in rhost $ PWD # password per il login cd $ CRDIR sh # shutdown.sh fermata per shutdowning il server $ PWD # password per il server shutdowning logout EOF)>> Accedi. $ $ Quando ho eseguito questo script, io sono un errore che dice "unknown host". Potete per favore fatemelo sapere qual è il problema? Se si conosce nessun altro modo di accedere a un host remoto. Potete per favore fatemelo sapere al più presto possibile. Grazie in anticipo, Patil. |
|
||||
|
Problema durante la registrazione in un host remoto utilizzando telnet
Salve,
Grazie per la risposta, ma in quanto lo script che ho scritto non ha spazi vuoti. Si tratta di restituire un errore "Chiuso da un ospite straniero" Per favore fatemi sapere se qualcuno ha affrontato questo problema e ciò che era la soluzione. Grazie in anticipo, Patil. |
|
||||
|
È cant uso reindirizzato ingresso con telnet ... è necessario utilizzare uno strumento come aspettarsi: http://expect.nist.gov/
Ultimo a cura di infedele; al 06/13/2006 07:02 AM.. |
![]() |
| Segnalibri |
| Thread Tools | Cerca in questo Thread |
| Modalità di visualizzazione | Vota questo thread |
|
|