Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by alan147

  1. alan147

    udev rules question

    I have 2 identical Linux hosts attached to an HP MSA. I am using udev to create persistent names for an Oracle database. I have a problem where one host maps all of the devices correctly the other host maps all except one device which it ignores. The server maps the scsi device but udev will not...
  2. alan147

    Compare numbers

    Feherke That's great just what I wanted to do. Thanks Alan
  3. alan147

    Compare numbers

    Good afternoon Is there a way to compare two numbers such that if the two are within 5 of each other the result is true but if the difference is greater the 6 then the result is false? Thanks Alan
  4. alan147

    Expect script help

    The rpm packages on the new server are: openssh-server-5.3p1-70.el6.i686 openssh-5.3p1-70.el6.i686 openssh-clients-5.3p1-70.el6.i686 expect-5.44.1.15-2.el6.i686 OS Oracle Linux Server release 6.2 Old server: openssh-server-3.9p1-8.RHEL4.24 openssh-askpass-3.9p1-8.RHEL4.24...
  5. alan147

    Expect script help

    I've set stricthostkeychecking=no to no effect and deleted the key from the known_hosts file. The expect script worked on another but I needed to move it to the current one. I am running the script and the manual sftp from the same server. Alan
  6. alan147

    Expect script help

    No, it is still the same. debug3: Wrote 64 bytes for a total of 1109 debug1: Authentications that can continue: publickey,password debug3: start over, passed a different list publickey,password debug3: preferred gssapi-keyex,gssapi-with-mic,publickey debug3: authmethod_lookup publickey debug3...
  7. alan147

    Expect script help

    OK thanks, I've removed them. Alan
  8. alan147

    Expect script help

    The sleeps are to allow time for the remote server to respond. The password is not password, I didn't take the \ out when I sanitised the password. Alan
  9. alan147

    Expect script help

    Manual sftp -vvv user@xxx.xxx.xxx.xxx Produces this output Connecting to xxx.xxx.xxx.xxx... OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to xxx.xxx.xxx.xxx...
  10. alan147

    Expect script help

    Manual sftp requires a password. I need the expect script to use password authentication. Alan
  11. alan147

    Expect script help

    Manual sftp works fine. Alan
  12. alan147

    Expect script help

    I have an expect script that uses sftp to download files from a remote windows host. I gave just moved this to a new server RHEL 6.1 and cannot get the script to work. I can manually sftp to the remote host and list the directory tree. The expect script produces the following error...
  13. alan147

    Dynamically name a bash array

    Yes, thanks very much. Alan
  14. alan147

    Dynamically name a bash array

    Thanks for the help. Could you explain briefly what is going on, I think I understand but I want to make sure. Alan
  15. alan147

    Dynamically name a bash array

    In its original form the script checks a directory for message files, if there are any it then creates an two arrays one for each insurer to hold a list of files to be sent to each insurer. The files are transmitted and are removed from the original location and put into another directory...

Part and Inventory Search

Back
Top