ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Purchased My First CloudatCost Machine

    Scheduled Pinned Locked Moved IT Discussion
    39 Posts 9 Posters 5.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thanksajdotcomT
      thanksajdotcom
      last edited by

      I don't know how they have it setup but I've tried.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @thanksajdotcom
        last edited by

        @thanksajdotcom said:

        I did set the password. But if you try to login directly as root, it won't let you.

        Just change the SSHD config to allow passwords. And why are you running RSYNC as root and using anything other than KEYS!!!!

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          How are you attempting to use Rsync with a password? There are several things wrong here. That root uses keys is needed for Rsync to be secure and to work properly.

          thanksajdotcomT 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @thanksajdotcom
            last edited by

            @thanksajdotcom said:

            @scottalanmiller said:

            @thanksajdotcom said:

            You can't SSH without that public key though. So if you have the IP, username and password, if you don't have that file from Amazon that you get through your account, you can SSH to them, and I couldn't figure out how to Rsync with it...

            Of course you can. Just set the password. Amazon doesn't alter anything. It's the same as any Linux OS anywhere else. Why would you need Amazon to set your password for you?

            I did set the password. But if you try to login directly as root, it won't let you.

            Why do you want passwords. Keys are more secure. You can use rsync with keys

            rsync -avz /path/local -e "ssh -i /path/sshkey" name@awsinstance:/path/remote/
            
            scottalanmillerS thanksajdotcomT 2 Replies Last reply Reply Quote 0
            • thanksajdotcomT
              thanksajdotcom @scottalanmiller
              last edited by

              @scottalanmiller said:

              How are you attempting to use Rsync with a password? There are several things wrong here. That root uses keys is needed for Rsync to be secure and to work properly.

              I'm not worried about it anymore. I setup keys between my C@C and local server and got Rsync working that way. I'm dropping AWS.

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @A Former User
                last edited by

                @thecreativeone91 not only more secure, but faster and the only way, with any security, to have Rsync work in a script.

                thanksajdotcomT 1 Reply Last reply Reply Quote 0
                • thanksajdotcomT
                  thanksajdotcom @A Former User
                  last edited by

                  @thecreativeone91 said:

                  @thanksajdotcom said:

                  @scottalanmiller said:

                  @thanksajdotcom said:

                  You can't SSH without that public key though. So if you have the IP, username and password, if you don't have that file from Amazon that you get through your account, you can SSH to them, and I couldn't figure out how to Rsync with it...

                  Of course you can. Just set the password. Amazon doesn't alter anything. It's the same as any Linux OS anywhere else. Why would you need Amazon to set your password for you?

                  I did set the password. But if you try to login directly as root, it won't let you.

                  Why do you want passwords. Keys are more secure. You can use rsync with keys

                  rsync -avz /path/local -e "ssh -i /path/sshkey" name@awsinstance:/path/remote/
                  

                  Not worried about it anymore.

                  1 Reply Last reply Reply Quote 0
                  • thanksajdotcomT
                    thanksajdotcom @scottalanmiller
                    last edited by

                    @scottalanmiller said:

                    @thecreativeone91 not only more secure, but faster and the only way, with any security, to have Rsync work in a script.

                    Yes, I know. That's how I'm doing it.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @thanksajdotcom
                      last edited by

                      @thanksajdotcom said:

                      I'm not worried about it anymore. I setup keys between my C@C and local server and got Rsync working that way. I'm dropping AWS.

                      So you switched to.... keys? What was the complaint then?

                      thanksajdotcomT 1 Reply Last reply Reply Quote 1
                      • thanksajdotcomT
                        thanksajdotcom @scottalanmiller
                        last edited by

                        @scottalanmiller said:

                        @thanksajdotcom said:

                        I'm not worried about it anymore. I setup keys between my C@C and local server and got Rsync working that way. I'm dropping AWS.

                        So you switched to.... keys? What was the complaint then?

                        Yes, I'm using keys. Never mind. I already explained it. Lol

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post