have a nice day!
How can i get SSH connection without password(root)?
i tried to using 'ssh-keygen'! but it dosen't work!
I registered hostname each servers.
and i copied a point of departure's 'id_dsa.pub' to destination's 'authorized_keys', but i received "Permission denied (publickey)" message
what was worse is that, i copied a point of departure's 'id_dsa.pub' to point of departure's 'authorized_keys" but it dosen't work....
I wonder that is it a AWS EC2 Policy? or just i stupid.
plz help me
Related
I´m trying to deploy a AWS EC2 Mac instance.
During the process of setting the instance up, I get asked to allocate a dedicated host for it.
When I try to do it, I keep getting the following message:
Your request for accessing resources in this region is being validated, and you will not be able to launch additional resources in this region until the validation is complete. We will notify you by email once your request has been validated. While normally resolved within minutes, please allow up to 4 hours for this process to complete. If the issue still persists, please let us know by writing to aws-verification#amazon.com for further assistance.
It´s been more than a day since I started trying, so the problem isn´t the 4 hours mentioned in the message.
Anyone has any ideas how to solve this?
Thank you!
Is the AWS account in which you are trying to provision those resources brand new?
Messages like the one you are seeing are usually seen in case the account in question hasn't been fully activated or lacks billing information.
If my assumption is correct check the root account email inbox for confirmation/verification email requests from AWS. And make sure that your credit card information is up to date.
I am new at Redis Enterprise and can't fix this problem:
I have a Redis Enterprise cluster (v.6.0) in AWS with two nodes. When I have only one node I can enter UI, but after adding other (second) nodes always throws me out to the login page after entering credentials. Meanwhile, the cluster works fine (information is taken from rladmin).
In what direction I should investigate the issue?
P.S.: Can this error from logs cause an issue?
ERROR redis_mgr MainThread: Connect failed: connect: connection failed: Error 2 connecting to unix socket: /var/opt/redislabs/run/ccs.sock. No such file or directory.: retrying
Possibly, this solution will help anybody:
the reason was that ALB before UI didn't use sticky sessions.
the solution was to enable a sticky session and it works.
I've been getting an amazon instance ID from within the instance itself for over a year now by hitting this local web address http://169.254.169.254/latest/meta-data/instance-id. This is the appropriate method according to the AWS documentation. For some reason though, just this week that same call started throwing an error.
I tried pinging the 169.254.169.254 address from the command line and that fails, so it seems like something pretty basic has changed with the EC2 instances. I don't see any changes to the documentation on AWS. One thing I do notice is that I used to see the instance name in the upper right hand corner when loading up the instance and logging in remotely. That information doesn't appear anymore.
Here is the code I've been using to get the ID:
retID = New StreamReader(HttpWebRequest.Create("http://169.254.169.254/latest/meta-data/instance-id").GetResponse().GetResponseStream()).ReadToEnd()
Here is the full error stack:
at System.Net.HttpWebRequest.GetResponse()
at RunControllerInterface.NewRunControlCommunicate.getInstanceIDFromAmazon()
The error message itself says: Unable to connect to the remote server
Any help would be appreciated.
So I think I have at least a partial answer to this problem. When making this image, I was using a t3a.medium instance. As long as I use that same type of instance I am able to pull down the instance name.
This question already has answers here:
Received failure with description 'Failure' in while uploading to SFTP server with FileZilla
(2 answers)
Closed 5 years ago.
I am unable to upload any files from FileZilla to my Amazon EC2 instance (running a m4.large instance). Its throwing the error " received failure with description 'Failure' ". Also noticed that my webapps which used to run on this instance are not working anymore.
I have enough disk space on this server; anyone can throw some light on why this is happening ?
I haven't experienced such error with any of my instances; however, I found this post that may help shed some light.
Also, have you tried uploading it with SCP? Try that and see if you receive the same error; I'm curious to know if this is related to SFTP and FileZilla.
scp local_file user#remote_host:remote_file
If you're using an SSH key to authenticate on the instance, you'll need to use the -i argument along with the key name.
scp -i pem_file_name local_file user#remote_host:remote_file
Hope this helps!
I loaded Bamboo server onto and AWS Ec2 instance but it is not secure. When I try to link Bamboo to Bitbucket I get a Failed to load data from Bitbucket. [403 Forbidden].
So after reading this post on correcting “XSRF Check failed” errors, I still get the 403 error, not sure what I am doing wrong, has anyone else gone through this problem?
what was done to finally fix it?
Thanks