Ok got my LAMP Server going under Open Suse with a lot of help from the forum. Now I am trying to from a remote terminal get into the Server by using open ssh.
I typed in: ssh macmike 76.77.114.156 I get returned to me. ssh: Could not resolve hostname macmike: nodename nor servname provided or not known.
On the old server (Ubuntu) I had installed Webmin. I used to be able to type 192.168.123.104:10000 and get a login screen for Webmin. Or I would type in my static IP adddress above to do so with the 10000 port. I can’t find Webmin for SUSE. What program serves that purpose on SUSE? I need the capability of running this server headless and be able to add other websites remotely that I host.
Yea that is what I meant. When I do that even from a computer connected to my network. Of course from the network I do
ssh macmike@192.168.123.104
I get returned to me port 22: Connection refused
On Fri, 11 Nov 2011 22:56:02 +0000, macmikeal wrote:
> Ok got my LAMP Server going under Open Suse with a lot of help from the
> forum. Now I am trying to from a remote terminal get into the Server by
> using open ssh.
>
> I typed in: ssh macmike 76.77.114.156 I get returned to me. ssh: Could
> not resolve hostname macmike: nodename nor servname provided or not
> known.
Assuming ‘macmike’ is your username, try:
ssh macmike@[ip address]
or
ssh -u macmike [ip address]
(replacing [ip address] with your server’s ip address)
That should get you connected.
> On the old server (Ubuntu) I had installed Webmin. I used to be able to
> type 192.168.123.104:10000 and get a login screen for Webmin. Or I would
> type in my static IP adddress above to do so with the 10000 port. I
> can’t find Webmin for SUSE. What program serves that purpose on SUSE? I
> need the capability of running this server headless and be able to add
> other websites remotely that I host.
You can download webmin from the webmin website and install it. That’s
the way I’ve installed it on a few of my systems over the years, and it
works fine.
SSH is still not working. I still get a connection refused error. I checked and I have port 22 forwarded and it is set up through YAST. I just finished a webmin download and install. Will I set it up through YAST?
By default OpenSUSE does not setup the SSH server to run. Start it as it
appears you have already opened port 22 (or disabled the firewall
completely, which would be kinda silly).
On Fri, 11 Nov 2011 23:26:03 +0000, macmikeal wrote:
> SSH is still not working. I still get a connection refused error. I
> checked and I have port 22 forwarded and it is set up through YAST. I
> just finished a webmin download and install. Will I set it up through
> YAST?
Make sure the firewall is open for port 22. It sounds like it may not be.
For installing webmin, you can use the software installer (your browser
may even automatically suggest using the software installer to open the
downloaded file) or just drop to a terminal prompt and type:
su -
Followed by:
cd /path/to/where/you/downloaded/webmin
rpm -Uhv webmin*.rpm
I went into YAST and opened 10000 under HTTP Server. I still couldn’t use LocalHost:10000 or 192.168.123.104:10000 to get in. I had to get in through www.mikealrhughes.com:10000. Don’t know why. I have 80, 22, and 10000 open for all IP’s unless it has something to do with the forwarding from the Router.
On Fri, 11 Nov 2011 23:46:02 +0000, macmikeal wrote:
> I went into YAST and opened 10000 under HTTP Server. I still couldn’t
> use LocalHost:10000 or 192.168.123.104:10000 to get in. I had to get in
> through www.mikealrhughes.com:10000. Don’t know why. I have 80, 22, and
> 10000 open for all IP’s unless it has something to do with the
> forwarding from the Router.
It shouldn’t - but opening the port should be done with “advanced”, not
“HTTP Server” in the firewall configuration.
But that you could get in with the DNS name is good.
In order to access from outside your network, you would have to configure
port forwarding in the router. It sounds like you did that.
On Fri, 11 Nov 2011 23:56:02 +0000, macmikeal wrote:
> That did it got ssh opened. Now will it open on every reboot?
>
> Mike
If you configured it to be open in the firewall, yes, it should be open
every time the system starts as long as your router is also configured to
forward the port each time the router boots. You’ll have to consult your
router’s documentation for that.
Ok, apparently opening those ports that way killed the Website coming up. I had to go into HTTP Server and delete those two port openings there. Now I have to figure out where I can open them for Webmin and SSH.
On Sat, 12 Nov 2011 02:36:02 +0000, macmikeal wrote:
> Ok, apparently opening those ports that way killed the Website coming
> up. I had to go into HTTP Server and delete those two port openings
> there. Now I have to figure out where I can open them for Webmin and
> SSH.
Use the firewall configuration to open ports. In the HTTP Server
setting, you’re not changing the firewall which is what you need to do.
test it internally (i.e. on your “LAN” from a computer that shares the network with 192… IP’s
configure the router port forwarding — tip: most users here will recommend you that you use a different port on the router external IP (i.e. NOT 22 but some other random port) to be forwarded to the ssh port (22) on the internally available server. this is a security configuration that will limit your ssh bruteforce attacks on your server.
*Same thing you can do for the ftp server (I remember from the other posts that you want that service also) and for webmin if you really want to use it from external world and of course enable SSL connections to these.
*
5. test your port-forwarding-nat by ssh-ing to your external IP and the new port
PS
From the other post you had some DHCP settings that does not help much: configure your router to assign a static / preferred IP for your server, and disable the “change the name from DHCP server setting” to have whatever name you want for your machine - please notice that it will NOT be the full quallified domain name you want to serve to the outside world but as you had, linux-asas.site or something similar.
I got the ssh going finally. What port would you suggest besides 22? I also got Webmin working. I am going to move where the container is for my Website to the larger partition. Right now they are at the default location on a partition that is only 40 GB. I plan to put them on the partition that is 400 GB that should allow for plenty of MP3’s and other files. I know a fellow that was helping me with this in NY tells me there are some other Tweaks I need to do with SUSE itself. So waiting to call him and see what tweaks he suggests there. Then once it is like we need I will do a HDclone back up of the whole drive put that one up and be ready to roll. That is until I start fooling with the Mail Server. I have a mailing list of about 1000 subscribers I may put on this server. I will use Mailman for that. Any suggestion on Bible Software for Linux? Is there anything similiar to Logos out there for Linux?
The easyest way to enable the SSH server on an openSUSE system (as it is for many standard services) is of course using the admin tool of openSUSE: YaST.
YaST > System > System services (runlevel). Search for ssh and enable it. YaST will then also adapt the firewall settings (those are the nice things of clever admin tools: they do the things you often forget).
A port that is higher than 1024 and it is not used by other service. It is not too much of a security improvement (through obscurity) if you have that one posted on a public forum.
Take into account that **is not **a really good solution since a portscan could get it still. Have a look at other solution to harden it (e.g. denyhosts and some other - do a forum search for hardening ssh or bruteforce)
Regarding the second question: about the bible, there is a search engine for the software available here: software.opensuse.org: Search Results put bible in the search form and you will get few results. Sorry, no specific recommendation from me.