Stash, SSL, and SSH

Andrew Morin April 24, 2013

I am currently running Stash on https on the default 443 port. I want to turn on SSH but it resets my port and blanks out the URL everytime I try and enable it. It says everything will default to 8443 for SSH. If I try and change the port to say 7999 and the URL to ssh://gittest.starz.com:7999 and click save it reverts to the attached image. Why won't it let me change this. I have tried multiple ports. Can I trust that it is available on 8443? Just haven't gotten that far...is it because I am running it on 443 for https? I have http disabled.I guess I can attach image after its posted as I am not seeing an attachment link on original posting edit area :-(

Thanks Andrew!

3 answers

1 accepted

0 votes
Answer accepted
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 24, 2013

Hi Andrew,

Is there anything in the logs to tell you what might be happening? When Stash starts it prints out the following to $STASH_HOME/log/atlassian-stash.log.

2013-01-22 21:06:12,576 INFO  [Spring executor 5]  c.a.stash.ssh.server.SshServer Starting SSH server on port 7999...
2013-01-22 21:06:12,679 INFO  [Spring executor 5]  c.a.stash.ssh.server.SshServer Started SSH server successfully.

If it has successfully changed then you should see the following:

2013-04-25 15:14:18,649 INFO  [http-bio-7990-exec-10] admin 914x312x1 97xoho 0:0:0:0:0:0:0:1 "POST /admin/server-settings HTTP/1.1" c.a.stash.ssh.server.SshServer Starting SSH server on port 8443...
2013-04-25 15:14:18,652 INFO  [http-bio-7990-exec-10] admin 914x312x1 97xoho 0:0:0:0:0:0:0:1 "POST /admin/server-settings HTTP/1.1" c.a.stash.ssh.server.SshServer Started SSH server successfully

If you want to test that it's working, try telneting to the port (using either gittest.starz.com or localhost if you're on the actual box). eg.

> telnet gittest.starz.com 8443

I'm assuming you're not seeing any errors about binding to used ports? If you change the port number you also need to change the URL if you have one (and vice-versa).

Cheers,

Charles

0 votes
Andrew Morin April 24, 2013

okay uncle...how do I add an image from an upload? Crazy....

0 votes
Andrew Morin April 24, 2013

Here is image after wiping out any changes I have made.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events