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

    Purchased My First CloudatCost Machine

    IT Discussion
    9
    39
    5.2k
    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.
    • C
      Carnival Boy
      last edited by

      OK, I've now joined the C@C party!

      scottalanmillerS 1 Reply Last reply Reply Quote 2
      • scottalanmillerS
        scottalanmiller @Carnival Boy
        last edited by

        @Carnival-Boy said:

        OK, I've now joined the C@C party!

        Welcome to the cloud!

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

          @scottalanmiller said:

          @Carnival-Boy said:

          OK, I've now joined the C@C party!

          Welcome to the cloud!

          cloud-meme.jpg

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

            One thing I already like better is that, unlike how Amazon uses public and private keys, which makes setting up things like Rsync between servers impossible (so it feels), C@C doesn't do this. I now have my current server on C@C doing mysqldumps and rsyncs to my local server over Pertino and it just works! Woohoo!

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

              @thanksajdotcom said:

              One thing I already like better is that, unlike how Amazon uses public and private keys, which makes setting up things like Rsync between servers impossible ....

              This doesn't make sense. Amazon uses a preset key for your root account. Once you've logged in, everything is the same. Just set a password if you want a password (you should not.) And any user accounts that you make use whatever you tell them to make. Amazon doesn't change how the OS works.

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

                @scottalanmiller said:

                @thanksajdotcom said:

                One thing I already like better is that, unlike how Amazon uses public and private keys, which makes setting up things like Rsync between servers impossible ....

                This doesn't make sense. Amazon uses a preset key for your root account. Once you've logged in, everything is the same. Just set a password if you want a password (you should not.) And any user accounts that you make use whatever you tell them to make. Amazon doesn't change how the OS works.

                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...

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

                  @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?

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

                    @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.

                    scottalanmillerS ? 2 Replies Last reply Reply Quote 0
                    • 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
                                        • 2 / 2
                                        • First post
                                          Last post