I am building FTP Script on my Bluehost VPS Server. I have several and all work great except this one.... I think there are two issues .. One with the command and One with "$" in the password.
This is one of the MANY different things I have tried... It connects and asks for the password - if I type it in then it gets the file..
Cannot get it to correctly deliver the password..
Any help would be appreciated... I know is must be something small.
Moderator's Comments:
Please use CODE tags as required by forum rules!
Last edited by RudiC; 03-10-2018 at 06:21 AM..
Reason: Added CODE tags.
Hi.
My workstation is Windows. I use putty to connect to unix servers. The problem is that i'm doing it many times a day and each time i need to supply password. I have no control on ssh configuration on servers, because of account restrictions. So i can't use key authentication, how is suggested... (4 Replies)
Hi Everybody!
I have to make my script more automatic as possible!
In this, a have to mount a usb pen drive into a Blade (Solaris 2.8), and the only away I know to do it, is becoming a SuperUser (root). But unfortunately, when I become a SuperUser inside the script, it doesn't let me to put... (1 Reply)
Is there any way to send password in a sh script, to establish a ssh connection with the remote server, without having shared the public key?
The command I'm currently using is in my script is
!#/bin/sh
...
ssh -l user remotehost "ls -l"
I have shared the public key of the local... (3 Replies)
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
I work in an environment where we have a Oracle DB Server on a AIX box. There are several batch scripts that load and execute on the database. The DBA wants to periodically change the password. Ideally I would like to have one common place to maintain the database as it is changed. I was thinking... (2 Replies)
Hi,
I've written a script that runs on a Database server. It has to shutdown the Application server, do an Oracle Dump and then restart the Application server. Its been a long time since I wrote any shells scripts. Can you tell me if the scripts that I execute within my script will be executed... (3 Replies)
Pam Module sending a cannot get password enry after certain period in /var/adm/message.
pam_login_limit(auth): Cannot get Password entry for user 'dbsnmp'
What is dbsnmp? Also if account is locked does pam module checks for this locked account at regular interval and keeps on posting... (2 Replies)
All,
I am trying to use expect to send SFTP password because I am unable to share a key with the vendor.
They gave me a password that uses some symbols in it like $ and !
When i try to use the send command in expect it thinks the $ is a variable.
Is there anyway to have it send the... (2 Replies)
Hi guys,
I wrote a script that logs into around 30 nodes via SSH as root.
The issue is that I have to punch in the root password everytime and it is being a hassle.
Is there a way to save the password in a secure way and automate the whole procedure. I do not want to save the password in... (9 Replies)