Purchased My First CloudatCost Machine
-
@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