Note that there are some explanatory texts on larger screens.

plurals
  1. POAmazon EC2 How Do I Host My Own Content on a Bitnami-Wordpress Instance
    primarykey
    data
    text
    <p>I created an instance to host my wordpress blog. I made a keypair, converted it using PuTTY Gen so that it would work with winscp.</p> <p>My security group that is associated with my instance has:</p> <blockquote> <p>ICMP Allow All <br/> TCP 0-65535 <br/> TCP 22 (SSH) <br/> TCP 80 (HTTP) <br/> TCP 443 (HTTPS) <br/> UDP 0-65535</p> </blockquote> <p>I am running a <strong>Bitnami-Wordpress 3.2.1-0 Ubuntu AMI</strong></p> <hr> <p><strong>My Question is: How do I host a simple file on my instance?</strong></p> <hr> <p>UPDATE: so I was able to login using SFTP by simply filling in my instance Public DNS as my host, and the PuTTY Gen key as the private key, the username I had to use was Bitnami. So now I have access to the server, how or where do I put a file so that it will come out www.mywebsite.com/myfile.file???</p> <p>I am assuming that I need to SSH into the server using putty, and add it into the WWW directoroy?</p> <p>What I have tried:</p> <p>I tried logging in using WinSCP with host name being my instance's Public DNS, and my private key file the converted PuTTY Gen file that was originally the key pair for the instance.</p> <ol> <li><p>Using SFTP, pressing login it asks me for a user name, entering "user" or "ec2-user" I get an error saying: </p> <blockquote> <p>"disconnected, no supported authentication methods available (server sent: public key), Server >refused our key. Authentication failed. </p> </blockquote> <p>Using root for the username, it asks for a passphrase that I created for my keypair using PuTTY Gen, It accepts it, but then I get this error:</p> <blockquote> <p>"Received too large (1349281121 B) SFTP packet. Max supported packet size is 1024000 B. The error >is typically caused by message printed from startup script (like .profile). The message may start >with ""Plea"". Cannot initialize SFTP protocol. Is the host running a SFTP server? </p> </blockquote></li> </ol> <p>If in WinSCP I put the username as "user" and the password as "bitnami" (before I press login) (default wordpress password for bitnami AMI) it gives me this error:</p> <blockquote> <p>Disconnected: No supported authentication methods available (server sent: publickey). Authentication log (see session log for details):Using username: "user". Server refused ourkey. Authentication failed.</p> </blockquote> <ol> <li>I get the same errors using SCP instead of SFTP in WinSCP except when I use SCP and I press login, and I use username "root" it asks me for my passphrase, after entering that I get this error:</li> </ol> <blockquote> <p>Connection has been unexpectedly closed. Server sent command exit status 0. Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload