location of ssh?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mbuddha
    Junior Member
    • Mar 2006
    • 3

    #1

    location of ssh?

    I need this for a script to run properly. Right now in the script it says #!/bin/sh at the top. What should I replace that with?
  • sdjl
    Senior Member
    • Mar 2004
    • 502

    #2
    Are you sure it's SSH you need to find and not SH?

    Have you tried running the script as is to see if it works?

    David
    -----
    Do you fear the obsolescence of the metanarrative apparatus of legitimation?

    Comment

    • mbuddha
      Junior Member
      • Mar 2006
      • 3

      #3
      Well I'm trying to install a script on my site and it requires I run an installation procedure directly on the server. The scripts involved have #!/bin/sh at the top and in the docs it says if that doesn't work "try #!/bin/bash or whatever shell you're using."

      ssh is shell isn't it? I mean I'm using it that way...

      If there is 'sh' to run, I don't know where or how.

      Comment

      • mbuddha
        Junior Member
        • Mar 2006
        • 3

        #4
        Actually it's irrelevant. I was trying to install a java chatroom and I just found out Dathorn doesn't support Java. It's ok I was only going to be testing it out here before finding a small host and getting a different domain.

        Comment

        • sdjl
          Senior Member
          • Mar 2004
          • 502

          #5
          I see.
          Well SSH is a protocol technically speaking. It is a secure interface to your server. You then use an SSH client to use the protocol and issue commands, etc.

          SH is a shell script, which you can run via SSH or Telnet.

          If you're running a setup script, you'll be using SH

          David
          -----
          Do you fear the obsolescence of the metanarrative apparatus of legitimation?

          Comment

          Working...