Re: how to pass the password of remote machien in a paramater in ssh command.



On 12 Jul, 09:58, gerry.bren...@xxxxxxxxx wrote:
Hi,

Aside from expect and public/private key how do i pass password to the
remote machine as an argument from within a script.

G

Read the manul page on "expect".

.



Relevant Pages

  • Re: yet another question on file names with spaces?
    ... > I agree, the echo is redudant. ... > know what they are before the script runs - see below. ... > finding whether they are also on the remote machine. ... > images and pdfs which I only want to transfer once. ...
    (comp.unix.shell)
  • Re: Remove programs with a script?
    ... While I execute this I get error: ... The script passed to CreateScript must be a WSH hosted script ... The remote machine needs to have WshRemote enabled: ... WshRemote instances do not run in the context of the visible, ...
    (microsoft.public.scripting.wsh)
  • Re: Remove programs with a script?
    ... While I execute this I get error: ... The script passed to CreateScript must be a WSH hosted script ... The remote machine needs to have WshRemote enabled: ... WshRemote instances should never attempt to produce any visible ...
    (microsoft.public.scripting.wsh)
  • Re: Problem with WMI.
    ... I am running a script to get the logged on user on a remote machine ... administrator is logged on to remote machine. ... For Each objComputer in colComputer ... computername as an argument. ...
    (microsoft.public.scripting.vbscript)
  • Re: How to redirect output of shell command using WMI
    ... But this the script given will not work for me, ... I cannot use shares like "d$" for the remote machine. ... Also one more point I would mention here is that, when I run the command ... Note that this is how NTFS security works: ...
    (microsoft.public.windows.server.scripting)