EFW Support
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Thursday 28 March 2024, 09:48:57 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Visit the Official Endian Bug tracker
HERE
14247
Posts in
4376
Topics by
6489
Members
Latest Member:
GB-gattoboy
Search:
Advanced search
EFW Support
Support
General Support
Enable SSH from CLI
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Enable SSH from CLI (Read 16130 times)
derick@replic8.co.bw
Full Member
Offline
Posts: 13
Enable SSH from CLI
«
on:
Wednesday 27 May 2015, 11:50:16 pm »
Hi all
Bit stuck. We've got an EFW community server that isn't too healthy. It seems to have some sort of problem with its SSL certificates or something as we cannot access its web console at all. The plan was instead of faffing about trying to fix the SSL issue, to just export its config, get a new server up and running and import the configs over.
Problem though. The sick EFW does not have SSH enabled, and I cannot figure out how to enable it directly from the admin console. This being the case, I have no idea how I'm going to copy over the backed up config without being able to use something like WinSCP...
Is there any way to enable SSH without having access to the web console? I have physical access to the server, but that's not going to help me much in this case.
Logged
mmiat
Sr. Member
Offline
Gender:
Posts: 236
Re: Enable SSH from CLI
«
Reply #1 on:
Thursday 28 May 2015, 07:56:21 pm »
...
Logged
---------------------
IT Consultant
www.fsw.it
Hardware & Software
mmiat
Sr. Member
Offline
Gender:
Posts: 236
Re: Enable SSH from CLI
«
Reply #2 on:
Thursday 28 May 2015, 07:59:07 pm »
try to change /var/efw/remote/settings:
Code:
ENABLE_SSH_PROTOCOL1=
ENABLE_SSH_PASSWORDS=on
ENABLE_SSH_PORTFW=
submit=Salva
perform_switch=1
__CGI__=CGI=HASH(0x833b0f8)
ENABLE_SSH_KEYS=on
ENABLE_SSH=on
and reboot
Logged
---------------------
IT Consultant
www.fsw.it
Hardware & Software
mmiat
Sr. Member
Offline
Gender:
Posts: 236
Re: Enable SSH from CLI
«
Reply #3 on:
Thursday 28 May 2015, 08:02:39 pm »
argh, I can't edit my post
you don't need to reboot, maybe only start/restart service
or you can use a usb key to save all, I think efw can mount it
Logged
---------------------
IT Consultant
www.fsw.it
Hardware & Software
derick@replic8.co.bw
Full Member
Offline
Posts: 13
Re: Enable SSH from CLI
«
Reply #4 on:
Thursday 28 May 2015, 11:30:50 pm »
Hi mmiat
Thanks for the help so far, appreciate it
I'm going to give your suggestions a go quick, hopefully that does the trick.
Cheers
Logged
derick@replic8.co.bw
Full Member
Offline
Posts: 13
Re: Enable SSH from CLI
«
Reply #5 on:
Friday 29 May 2015, 07:49:30 pm »
Just gave this a quick test using a VMWare Workstation VM, no file called /var/efw/remote/settings. It's possible that it might just be my version though, tested the latest EFW Community edition.
The client site uses 2.5.something though, so it might work. Going to try plugging in a USB as well to see if that works.
Logged
derick@replic8.co.bw
Full Member
Offline
Posts: 13
Re: Enable SSH from CLI
«
Reply #6 on:
Saturday 30 May 2015, 12:00:36 am »
Thanks mmiat, looks like the config file edit does the trick.
In my case though, I had to create the file from scratch, reboot the server, but then also start SSH by doing /etc/init.d/sshd start.
After that, SSH login works
Logged
mmiat
Sr. Member
Offline
Gender:
Posts: 236
Re: Enable SSH from CLI
«
Reply #7 on:
Monday 08 June 2015, 11:49:57 pm »
well done!
Logged
---------------------
IT Consultant
www.fsw.it
Hardware & Software
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Project News
=> Latest News and Updates
-----------------------------
Support
-----------------------------
=> General Support
=> Installation Support
=> EFW SMTP, HTTP, SIP, FTP Proxy Support
=> VPN Support
=> Hardware Support
-----------------------------
Development
-----------------------------
=> EFW Wishlist
=> Contribute Your Customisations & Modifications
Page created in 0.063 seconds with 18 queries.
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Design by
7dana.com