Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #2580

Automate user/pass transmission?

From Dieter Braun <dbraun@gmx.net>
Newsgroups comp.os.linux.networking
Subject Automate user/pass transmission?
Date 2013-11-25 10:36 +0100
Message-ID <bfgk1qFmtdaU1@mid.individual.net> (permalink)

Show all headers | View raw


Hi newsgroup,

I am trying to write a maintenance script which connects to a server via SSH and cleans up several files..
I know e.g. that you can transmit username and password of HTTP Auth like http://user:pass@some.server.com, but how can I write a simple bash file to connect via SSH?
I tried so far: - ssh dbraun@176.94.109.57 -p ku2jsx9r
                  - ssh -p ku2jsx9r dbraun@176.94.109.57

but neither works..

Can anyone help?

Thank you,
Dieter

Back to comp.os.linux.networking | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Automate user/pass transmission? Dieter Braun <dbraun@gmx.net> - 2013-11-25 10:36 +0100
  Re: Automate user/pass transmission? Richard Kettlewell <rjk@greenend.org.uk> - 2013-11-25 10:13 +0000
  Re: Automate user/pass transmission? Jamma Tino Schwarze <jamma-usenet@tisc.de> - 2013-11-25 10:14 +0000
    Re: Automate user/pass transmission? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2013-11-25 21:24 +0000
      Re: Automate user/pass transmission? gof@somewhere.invalid (Adam Wysocki) - 2013-12-03 13:53 +0000
        Re: Automate user/pass transmission? Richard Kettlewell <rjk@greenend.org.uk> - 2013-12-03 17:25 +0000
          Re: Automate user/pass transmission? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2013-12-04 23:14 +0000
            Re: Automate user/pass transmission? Richard Kettlewell <rjk@greenend.org.uk> - 2013-12-04 23:24 +0000
              Re: Automate user/pass transmission? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2013-12-07 09:40 +0000
                Re: Automate user/pass transmission? gof@somewhere.invalid (Adam Wysocki) - 2013-12-07 12:45 +0000
            Re: Automate user/pass transmission? gof@somewhere.invalid (Adam Wysocki) - 2013-12-07 12:43 +0000

csiph-web