Hi guys,
I need a favor here,
I need to ssh accross the other server, but I need to put password in it.
that server can't be passwordless because of the permission thing that I am not allowed to change.
So this is part of my script :
but it doesnt work, any idea guys ?
Thanks very much before.
I need a favor here,
I need to ssh accross the other server, but I need to put password in it.
that server can't be passwordless because of the permission thing that I am not allowed to change.
So this is part of my script :
Code:
#!/bin/ksh
ssh dr01 "ls -l" <<EOF
password
EOF
but it doesnt work, any idea guys ?
Thanks very much before.