Note: This forum is merely an archive. It is no longer possible to register or post. - StackOverflow
New Ace of Spades Forums: http://buildandshoot.com/

Enabling SSH?

Problem getting your server up? Ask in here.

Enabling SSH?

Postby Jest » Mon Feb 20, 2012 7:18 am

Whenever I enabled SSH, the server no longer boots it seems.
It has the following error:
Traceback (most recent call last):
File "run.py", line 32, in <module>
File "json\__init__.pyo", line 278, in load
File "json\__init__.pyo", line 326, in loads
File "json\decoder.pyo", line 366, in decode
File "json\decoder.pyo", line 384, in raw_decode
ValueError: No JSON object could be decoded

using:
},
"ssh" : {
"enabled" : true,
"port" : 32899,
"users" : {
"user" : "somenewpass"
}

Does anyone have SSH working?
Last edited by Jest on Tue Feb 21, 2012 7:10 am, edited 1 time in total.
Image
User avatar
Jest
Member
 
Posts: 17
Joined: Tue Jan 24, 2012 8:39 am

Re: Enabling SSH?

Postby Abizaga » Mon Feb 20, 2012 7:25 am

Jest wrote:Whenever I enabled SSH, the server no longer boots it seems.
It has the following error:
Traceback (most recent call last):
File "run.py", line 32, in <module>
File "json\__init__.pyo", line 278, in load
File "json\__init__.pyo", line 326, in loads
File "json\decoder.pyo", line 366, in decode
File "json\decoder.pyo", line 384, in raw_decode
ValueError: No JSON object could be decoded

using:
},
"ssh" : {
"enabled" : enable,
"port" : 32899,
"users" : {
"user" : "somenewpass"
}

Does anyone have SSH working?

And upon trying to open it, nothing happens.
Abizaga
Member
 
Posts: 47
Joined: Fri Feb 10, 2012 5:36 pm

Re: Enabling SSH?

Postby Mortiis » Mon Feb 20, 2012 5:39 pm

it should be:

"ssh" : {
"enabled" : true,
"port" : 32899,
"users" : {
"user" : "somenewpass"
}
User avatar
Mortiis
Member
 
Posts: 29
Joined: Mon Jan 16, 2012 6:07 pm
Location: Santiago, Chile

Re: Enabling SSH?

Postby Abizaga » Tue Feb 21, 2012 2:53 am

I'll give that a try. Thanks. Sec.

No, it only made the server stop functioning, so I had to turn it off.
Abizaga
Member
 
Posts: 47
Joined: Fri Feb 10, 2012 5:36 pm

Re: Enabling SSH?

Postby Jest » Tue Feb 21, 2012 7:13 am

Sorry, the example I gave was from someone else.
I also tried:
"ssh" : {
"enabled" : true,
"port" : 32889,
"users" : {
"user" : "passpass"
}
},
On a fresh pyspades server, and it stopped working, giving the same error as above.
Setting it to false allows it to boot.
The port is available and open, so I'm not sure what else to try.
Last edited by Jest on Sun Feb 26, 2012 9:22 am, edited 1 time in total.
Image
User avatar
Jest
Member
 
Posts: 17
Joined: Tue Jan 24, 2012 8:39 am

Re: Enabling SSH?

Postby Abizaga » Wed Feb 22, 2012 12:59 pm

Jest wrote:Sorry, the example I gave was from someone else.
I also tried:
"ssh" : {
"enabled" : true,
"port" : 32889,
"users" : {
"user" : "passpass"
}
On a fresh pyspades server, and it stopped working, giving the same error as above.
Setting it to false allows it to boot.
The port is available and open, so I'm not sure what else to try.

Should it be set to the same port as the server? maybe that could help.
Abizaga
Member
 
Posts: 47
Joined: Fri Feb 10, 2012 5:36 pm

Re: Enabling SSH?

Postby Tocksman » Sun Feb 26, 2012 12:57 am

It should be:
Code: Select all
    "ssh" : {
        "enabled" : false,
        "port" : 32887,
        "users" : {
            "user" : "pass"
        }
    },


You forgot the "}," at the end.
Tocksman
Member
 
Posts: 90
Joined: Mon Jan 02, 2012 10:46 pm

Re: Enabling SSH?

Postby Jest » Sun Feb 26, 2012 9:22 am

It's there, I just didn't copy the entire portion sorry.
Does SSH work for you with it?
Image
User avatar
Jest
Member
 
Posts: 17
Joined: Tue Jan 24, 2012 8:39 am

Re: Enabling SSH?

Postby KomradeKorakoff » Mon Feb 27, 2012 8:23 am

Hey Jest, That code which Tocksman wrote is correct. Just put it to "true" and set your wanted pass.

A different user is also having a problem with SSH: viewtopic.php?f=79&t=2896

I simply compiled pyOpenSSL , pyCrypto , and PyASN1. I don't think that will be necessary in the future, but it booted up the server fine for me.
ImageImageImage
IRC link above ^ | <AGANCommanderCody> You really think we want a clan match against you guys, you Aimbotted last time and were GBLed on a canadian server for Hacking. <-- alart guys komrades delicious aimbot
User avatar
KomradeKorakoff
Komrade Leader
 
Posts: 1035
Joined: Sat Dec 10, 2011 8:24 pm
Location: Leningrad, CCCP

Re: Enabling SSH?

Postby Jest » Mon Feb 27, 2012 5:58 pm

Thanks, I saw that and have been tinkering around with compiling them. Thanks for letting me know you got it working.
I love your signature, sweet.
Image
User avatar
Jest
Member
 
Posts: 17
Joined: Tue Jan 24, 2012 8:39 am

Re: Enabling SSH?

Postby Abizaga » Sat Mar 17, 2012 8:52 pm

Jest wrote:Thanks, I saw that and have been tinkering around with compiling them. Thanks for letting me know you got it working.
I love your signature, sweet.

So will it work, now do you think?
Abizaga
Member
 
Posts: 47
Joined: Fri Feb 10, 2012 5:36 pm


Return to Server Help



Who is online

Users browsing this forum: No registered users and 1 guest

cron