Stash, SSL, and SSH

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

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,645 views 9 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you