While I am connecting to another server using ssh
I am using 'EOF' marker to execute some commands in remote server. But they are failing to execute commands on remote server.
Also when password-less ssh
connectivity is not enabled, how to input password from the script without requiring the user to enter password?
$ su - oracle < passwd.txt
standard in must be a tty