Sponsored Content
Full Discussion: Facing_problem_with_ssh
Top Forums Shell Programming and Scripting Facing_problem_with_ssh Post 302944382 by bakunin on Tuesday 19th of May 2015 05:09:33 AM
Old 05-19-2015
Quote:
Originally Posted by venky.b5
i want script to prompt for the password so i think i cant use -n option
These two things have nothing to do with each other. Please read the man page for ssh: -n controls the allocation/non-allocation of a pseudo-terminal (stdin/stdout for the processes called within the ssh-session).

Regarding the "-o": i thought your ssh-line was part of a script and surrounded by other commands. My bad.

I hope that helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 
XINE-REMOTE(1)						      General Commands Manual						    XINE-REMOTE(1)

NAME
xine-remote - a small tool to connect xine remote control server. SYNOPSIS
xine-remote [options] DESCRIPTION
This manual page documents briefly the xine-remote tool. xine-remote can replace a raw telnet connection to a xine remote control server. It use the readline facilities (completion, vi/emacs shortcuts, command history, etc...). By default, it try to connect the localhost, using the default port (see xine(1)). OPTIONS
The program follow the usual GNU command line syntax, with long ioptions starting with two dashes (`-'). A summary of options are included below. -H, --host <hostname> Try to connect <hostname>. -P, --port <port> Try to connect the host using <port>. -c, --command <command> Send <command> to server then quit. The command should be single quoted if it contain spaces or special characters. -n, --noconnect Do not initiate the connection on startup. -v, --version Display version. -h, --help Display options summary. COMMANDS
Few commands are available, which are used to open or close a connection: ? Display available commands (the xine-remote ones + server ones when connection is established). help <command> Display the purpose of <command>, if that is omitted, display available commands. syntax <command> Display the usage of <command>. version Display version. open <server[:port]> Open connection to server. A port can be optionally specified, using colon (:) separator. close Close connection. quit Leaving xine-remote. SEE ALSO
xine(1). AUTHOR
This manual page was written by Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> for the xine project. The xine project 2002-04-16 XINE-REMOTE(1)
All times are GMT -4. The time now is 11:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy