Purchased My First CloudatCost Machine
-
OK, I've now joined the C@C party!
-
-
@scottalanmiller said:
@Carnival-Boy said:
OK, I've now joined the C@C party!
Welcome to the cloud!
-
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!
-
@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.
-
@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...
-
@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?
-
@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.
-
I don't know how they have it setup but I've tried.
-
@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!!!!
-
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.
-
@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/
-
@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.
-
@thecreativeone91 not only more secure, but faster and the only way, with any security, to have Rsync work in a script.
-
@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.
-
@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.
-
@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?
-
@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