# EC2 using Putty SSH: Server refused our key

**URL:** <https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704>\
**Category:** Wowza Streaming Engine\
**Created:** [July 6, 2009, 4:33pm UTC](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704 "2009-07-06T16:33:04Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![Mike\_Aiello](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mike\_Aiello](https://community.wowza.com/u/Mike_Aiello)\
**Post date:** [July 15, 2009, 2:21pm UTC](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704/21 "2009-07-15T14:21:47Z")

</div>

Thank you.

Two more questions:

1. re WowzaMediaServerPro\_UsersGuide.pdf, on page 9 -14: how can I tell if Wowza is running as a service on the server right now?

2. There is a stock FLV file located here: [http://174.129.214.73/content/merry\_melodies\_falling\_hare.flv](http://174.129.214.73/content/merry_melodies_falling_hare.flv) If the server were running, I expect this pathway would return the flash movie. Therefore I will assume the WMP server needs to be started as a SERVICE as noted on page 14 of the PDF.

Thanks again for your kind patience in answering my questions.

Mike

---

<div class="post-metadata">

**Author:** ![Mike\_Aiello](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mike\_Aiello](https://community.wowza.com/u/Mike_Aiello)\
**Post date:** [July 15, 2009, 4:17pm UTC](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704/22 "2009-07-15T16:17:46Z")

</div>

Richard -

I found that file, and dropped it in the following server directory:

/root/home/wowza/conf/SimpleVideoStreaming/client/

and also here:

/root/home/wowza/content/

I have also downloaded the latest Apache server, which I then uploaded to the root directory of the EC2 server here:

root/httpd-2.2.11.tar.gz

Question: Is it advisable to install Apache at this time, so that I might have access to the available html files that call the flv and swf files independently of the JC browser.

---

<div class="post-metadata">

**Author:** ![Mike\_Aiello](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mike\_Aiello](https://community.wowza.com/u/Mike_Aiello)\
**Post date:** [July 15, 2009, 4:38pm UTC](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704/23 "2009-07-15T16:38:34Z")

</div>

I understand… so, for example, the html file will contain a snip of flash code that references the server file something like this:

… where “VALUE” = the directory pathway to the flv file located on the wowza server.

Is this correct? If so, I will set up a test page on our existing website.

Please let me know ASAP.

Thanks

Mike

---

<div class="post-metadata">

**Author:** ![Mike\_Aiello](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mike\_Aiello](https://community.wowza.com/u/Mike_Aiello)\
**Post date:** [July 15, 2009, 4:55pm UTC](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704/24 "2009-07-15T16:55:17Z")

</div>

Hi Richard -

I have set up a page located on a different server here:

[http://xxx.nmatv.com/index.htm](http://xxx.nmatv.com/index.htm)

The index file contains the exact contents of simplevideostreaming.html with this exception:

Please confirm the addressing sytem:

rtmp://174.129.214.73/simplevideostreaming.swf

Thank you!

Mike

---

<div class="post-metadata">

**Author:** ![Mike\_Aiello](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mike\_Aiello](https://community.wowza.com/u/Mike_Aiello)\
**Post date:** [July 16, 2009, 8:05am UTC](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704/25 "2009-07-16T08:05:50Z")

</div>

Hi Richard -

Okay, here’s what I have so far:

At this location ([http://xxx.nmatv.com/index.htm](http://xxx.nmatv.com/index.htm)) I have placed an HTML file that makes the following call:

Thus the embed source is: rtmp://174.129.214.73/simplevideostreaming

So… where do I place the FLV video? Where exactly is the “streambox”?

---

<div class="post-metadata">

**Author:** ![Mike\_Aiello](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mike\_Aiello](https://community.wowza.com/u/Mike_Aiello)\
**Post date:** [July 16, 2009, 9:06am UTC](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704/26 "2009-07-16T09:06:33Z")

</div>

Here’s what I have right now:

[http://xxx.nmatv.com/index.htm](http://xxx.nmatv.com/index.htm) , which is still not loading a movie.

 \<embed src="http://174.129.214.73/simplevideostreaming.swf"

The wowza server is located at Elastic IP [http://174.129.214.73](http://174.129.214.73)

Here’s the relevant file pathways on the wowza server:

/root/home/wowza/

conf/simplevideostreaming/client/simplevideostreaming.html

conf/simplevideostreaming/client/simplevideostreaming.swf

content/merry\_melodies\_falling\_hare.flv

content/simplevideostreaming.swf

---

<div class="post-metadata">

**Author:** ![Mike\_Aiello](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mike\_Aiello](https://community.wowza.com/u/Mike_Aiello)\
**Post date:** [July 16, 2009, 9:40am UTC](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704/27 "2009-07-16T09:40:58Z")

</div>

From the Security tab in Elasticfox…

I select “Other” from the dropdown

Protocol = TCP/IP

Port = 21

Host = 0.0.0.0/0

Click Add

Where do I add these numbers: 1935, 80, 443?

---

<div class="post-metadata">

**Author:** ![Mike\_Aiello](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mike\_Aiello](https://community.wowza.com/u/Mike_Aiello)\
**Post date:** [July 16, 2009, 9:46am UTC](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704/28 "2009-07-16T09:46:51Z")

</div>

Oh, okay… I see what you mean: 1935 is the PORT number. Okay. Done.

[http://xxx.nmatv.com/index.htm](http://xxx.nmatv.com/index.htm)

Now I see the wowza logo on the index page. Hurrah!

---

<div class="post-metadata">

**Author:** ![Mike\_Aiello](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mike\_Aiello](https://community.wowza.com/u/Mike_Aiello)\
**Post date:** [July 16, 2009, 9:53am UTC](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704/29 "2009-07-16T09:53:44Z")

</div>

Hi Richard -

Thanks for helping me this far. I have now set up a page wherein the Wowza player is visible.

[http://xxx.nmatv.com/index.htm](http://xxx.nmatv.com/index.htm)

The wowza player is prompting me for a server address and streaming item.

I am trying to get the video to stream automatically. The index.htm file calls the following:

[http://174.129.214.73/simplevideostreaming.swf](http://174.129.214.73/simplevideostreaming.swf)

This is a pathway to the Wowza server.

How do I get the client to play the swf movie automatically?

Mike

---

<div class="post-metadata">

**Author:** ![Mike\_Aiello](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@Mike\_Aiello](https://community.wowza.com/u/Mike_Aiello)\
**Post date:** [July 16, 2009, 10:25am UTC](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704/30 "2009-07-16T10:25:25Z")

</div>

> Those are ports, put those in box labeled “Port”, one at a time. Here is a list of ports you might want to add:
> 
> **TCP Ports**
> 
> 21 (ftp)
> 
> 22 (ssh)
> 
> 80 (http)
> 
> 443 (ssl)
> 
> 554 (this is for rtsp)
> 
> 1935 (wowza)
> 
> 3306 (this is mysql)
> 
> 8084,8085 (this is for JConsole)
> 
> **UDP Ports**
> 
> 6970 - 9999 (this is for rtp)

Done. The only thing – there was already a UDP port set from 0 to 65535. Will this cause a conflict with the new one I just added?

[Previous page](https://community.wowza.com/t/ec2-using-putty-ssh-server-refused-our-key/704.md?page=1)
