I'm attempting to install perforce onto 14.04 ubuntu which is what worked without a hitch on a droplet, but this SSH stuff is screwing it up, and my unix knowledge is near nill.
I;ve tried some post-init scripts i found on the forums but I cannot set it up as I either need to login as user perforce (only allowed dhc-user obviously) or adding a user to SSH logins to install the script fully and get the service running via daemon but that didnt work via the post-initalize script for #cloud-users or however it goes. tried adding perforce with my key and it allowed login from that, great went to try logging in as dhc-user and just replied ssh error sent back 'public-key'
Following this script as usual
And then tried this older manual way http://www.juanjchong.com/2013/installing-perforce-on-ubuntu-12-0-4-lts/
No luck, it does run as a service on dhc-user using the old method but on restart no way for me to connect at all.
Could it be the default security group? I have no idea how any of that even works. The server pings from cmd so I assume its fine for connections.
Editing: listing services on dhc-user it shows p4dservice running which is interesting, but not able to login from the 2users I triewd to add using the
- name: demo
sudo: ['ALL=(ALL) NOPASSWD:ALL']
- ssh-rsa Your_Public_Key_Goes_Here email@example.com
When I try to connect to the server on the :1666 perforce port I get "Connect to server failed; check $P4PORT.
TCP connect to 184.108.40.206:1666 failed.
connect: 220.127.116.11:1666: WSAETIMEDOUT" which tells me the service isnt running (it does have a ? next to it but is listed)
Tried a sudo su - script run too but no luck. obviously im not terminal savvy enough for encrypted setups, as SSH is optional on dreamcompute i may be jumping ship back if my team needs it this weekend svn is just too slow.
Running through all the wikis and such I need pip due to openstack and such and setup everything commandline setting up my ssh pub/priv keys and what not?