Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Automate user/pass transmission?

10 views
Skip to first unread message

Dieter Braun

unread,
Nov 25, 2013, 4:37:42 AM11/25/13
to
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:pa...@some.server.com, but how can I write a simple bash file to connect via SSH?
I tried so far: - ssh dbr...@176.94.109.57 -p ku2jsx9r
- ssh -p ku2jsx9r dbr...@176.94.109.57

but neither works..

Can anyone help?

Thank you,
Dieter
0 new messages