Debian :: How To Enable SSH On Server For Connections
Apr 12, 2010
I have installed Debian Lenny 5 and am trying to access the server via SSH port 22 but it keeps telling me : Connection refused .Any ideas how to enable this SSH on Debian server for connections ???
View 6 Replies
ADVERTISEMENT
Aug 22, 2010
I run a webserver Apache2, php5, and MySQL. They are all set up correctly and I can access my website at [URL] I have, also installed, noip2 to update my IP address to no-ip.com for my domain name. Here's the problem: I can access my website through that domain name on other computers, both on internet and on the same network. But I cannot access it from my own computer (using the domain name instead of localhost). I need to be able to access the domain name on my computer because some pages on my website have been defined as the address to my domain name and not localhost. I cannot change this to localhost because if I do then people outside cannot work the webpages correctly. I had the same troubles on Windows before and I simply enabled loopback connections by typing in my private IP address along with the domain name into the Windows hosts file. I use version 10.04.
View 3 Replies
View Related
Jan 30, 2011
I want to share my WiFi internet connection over LAN, so I'm trying to set up IP forwarding. An old tutorial tells me to go to Network Settings in YaST to do this, but that applet says that NetworkManager is now handling all of that stuff.How do I enable IP forwarding while NetworkManager handles my internet connections?
View 2 Replies
View Related
Feb 7, 2011
have a problem with my network-manager in ubuntu 10.10.when I dial one of my vpn connections, my other vpn connections be disabled and I can't use them!I tried to restart network-manager and gnome-panel, but it does't seem to solve this problem.
View 1 Replies
View Related
Mar 30, 2011
I have a server that I can only access via SSH (it's located far away) and I would like to secure it by blocking all ports except the ones that I need (which are HTTP and SSH). I still want to be able to make outgoing connections to enable software updates and other things.This is my iptables -L -n :
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:1:21
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:23:79
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:81:65535
code....
In my opinion, this should block all incoming packets except the ones on port 80 and 22, but allow responses to outgoing connections. But a wget http://google.com does not work, it can't establish the connection.
Maybe this is not the best style for iptables rules, but I want to be absolutely sure to not accidently lock myself out from SSH, so I chose not to configure a "block-everything rule".
Does this configuration not enable incoming packets from connections initiated from inside?
View 3 Replies
View Related
Feb 10, 2011
Is there a way to enable a web interface to access openssh-server on my vps incase i'm on a network that does not permit outbound port tcp 22 or any other port of my choosing?
View 1 Replies
View Related
May 31, 2010
is there a way to enable a web interface to access openssh-server on my vps incase i'm on a network that does not permit outbound port tcp 22 or any other port of my choosing?
View 3 Replies
View Related
Jan 29, 2011
My Apache web server (respectively a child process) is crashing several times a day. I wanted to find the exact reason and activated the core dumps but even though the crashing-issues continue, the core dumps were never created. I have found several howto's which basically point to the same steps:
- set "ulimit -c unlimited"
- add "CoreDumpDirectory" directive into apache2.conf (Debian's httpd.conf)
Another info I've found is that /proc/sys/fs/suid_dumpable shouldn't be 0 - so on one howto it said to echo 2 into it, on another one to echo 1 to /proc/sys/fs/suid_dumpable - didn't work with neither of them.
View 4 Replies
View Related
Jan 13, 2010
Does anyone know how to permanently enable X connections from all machines on my local network. I keep having to enter 'xhost +' to allow X connections.
View 2 Replies
View Related
Feb 10, 2010
I recently installed Deluge 1.2.0 from the following PPA:[URL]I using this on two different Linux computers. One is running Linux Mint 8 and the other is running Ubuntu Netbook Remix 9.10. The first time on either computer when I enable WebUI in the Deluge GUI it works fine. However if I ever disable it in plugins section I am subsequently unable to re-enable it (doesn't appear in the side panel again). Rebooting or reinstalling Deluge seems to have no effect.Is this a bug or am I doing something wrong?
View 3 Replies
View Related
Jan 21, 2011
Is it fair to say that connLimit and hashlimit are very similiar on Linux i.e. while hashlimit caters to limits for groups of ports, they both set the connection rate limit per host? How in IPTables, do I configure a policy that limits connections on a port that encapsulates the total sum of all connections from all hosts? i.e. I do not want to allow more than 6000conn/minute for port range that is the sum of all connecting hosts?
View 3 Replies
View Related
Jun 18, 2010
Can anyone walk me through the process of increasing my max connection on my linux server?Over the last few weeks I have been getting errors saying I have to many connections.I think the default is 100 and I would like to maybe increase it to 150 or 200I know I cannot go to high because I will then be using to much of my memory or maybe CPU
View 8 Replies
View Related
May 30, 2011
I recently installed Fedora 15 now, and during installation I set the internet connection manually, then did update and after reboot, the internet connection settings have been removed. Now I can not set because the network connection to the Internet Connection is inactive. I mention that before the update was functional internet connection.
View 5 Replies
View Related
Sep 13, 2010
Basically it looks like someone is flooding the UDP port for our server, which is running a game (Halo PC) through wine on Linux.I've tried "netstat -aun" but only get 0.0.0.0.'s as the IP address. there's anything I can install to log connections or any command I can run. Specifically they need to be UDP on port 2302 and port 2304- but since these Halo servers are the only thing running on this server, logging all connections would equally suffice.
View 1 Replies
View Related
Feb 4, 2010
For some time now I've been noticing the network activity light for my linux box blinking like mad on my router. After a little looking around for ways to see what connections my box has established, I found the following using lsof -i
Code:
bash 13839 root 1u IPv4 3118972 TCP shana:49148->Oslo.NO.EU.undernet.org:ircd (SYN_SENT)
bash 13839 root 2u IPv4 3118986 TCP shana:34323->161.53.178.240:distinct
[code]....
I know I'm not using IRC, and I have my sshd locked down fairly tight, requiring a key to log in, so obviously, it looks like there's something or somebody in Croatia (the origin of that IP address) connecting my system to undernet.org for some nefarious purpose. Looking at my processes, ID 13839 shows up as
Code:
13839 ? S 0:00 bash
Just 'bash', not '-bash' as
Code:
13426 pts/0 S 0:00 -bash
my session appears. Previously, this odd bash process was ID 2704, which seemed to imply that it had launched fairly soon after my system booted up which really makes me wonder. Oh, and yes, I did kill that 2704 process, and it returned as this 13839. 2704 also had those same IRC connections present in lsof.
View 12 Replies
View Related
May 26, 2010
I have a little file server, which also acts as a printer server and it has a web server implementation for Mapserver too.
Suddenly, nothing can connect.
if I try ssh
Code:
john@john-desktop ~ $ ssh -vv 192.168.1.100
OpenSSH_5.1p1 Debian-5ubuntu1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
[Code].....
I am not running any software firewalls on any of the boxes, nor have I messed with anything on our router (Linksys Wireless-G)
Also, all connections are ethernet, not wireless, and the server and the other two boxes are assigned IPs - no dhcp issue
View 7 Replies
View Related
Jul 14, 2011
Is it possible to do limit the SSH connections using IPTABLES, like per day minimum 10 times only ssh connections can allow like that, or any other way to limit the SSH connections.
View 1 Replies
View Related
Feb 8, 2011
Ok so, buddy of mine has his ssh server setup and upon checking his logs he sees a ton of failed attempts. Now obviously these are people that are scanning him and trying to brute force him. So is there a way to block them? We know you can block each IP but is there a way to block ALL connections except for certain ones, such as his and mine? Maybe a couple others.
View 6 Replies
View Related
Apr 20, 2011
Is there any limitation of concurrent ftp connections that can run on the RHEL 5.2 server? I cannot find out the answer yet.
View 2 Replies
View Related
Feb 3, 2011
Since I cannot upgrade Adblock Plus anymore because iceweasel is too out of date for the new versions, I am trying to give privoxy a try. I am following the howto Block Ads & Fast Caching w/Privoxy +Squid without success. I am always receiving the error:The proxy server is refusing connections Iceweasel is configured to use a proxy server that is refusing connections.Check the proxy settings to make sure that they are correct.
I added these lines to /etc/privoxy/config
enable-remote-toggle 1
enable-edit-actions 1
permit-access 127.0.0.1
Moreover, I have edited the /etc/hosts file to block urls providing adverts and anything I wanted rejected.
View 7 Replies
View Related
Aug 24, 2015
I am trying to add an OpenVPN connection from the Network Connections GUI. The problem is everything is greyed out when I am logged on as a user. When I log in the GUI as root I can create the OpenVPN connection no problems. The problem with that is the option to use my newly created VPN connect does not appear when I log back into my user. I have tried adding my user into the sudoers file to no avail.
How can I give my user privileges to add OpenVPN connections?
View 5 Replies
View Related
Jul 14, 2010
I have ssh installed and running on my laptop(Debian Sequeeze). I can run "ssh localhost" without any problem. But for some reason I cannot connect to it from other computers. They all give "connection timed out". I can connect to these computers`s ssh servers but for some reason my laptop with Debian is not accepting any connections.
View 5 Replies
View Related
May 14, 2011
The below issue has been solved, the problem wasn't Debian but I simply didn't pay attention that somebody disabled port forwarding *facepalm*
View 5 Replies
View Related
Feb 25, 2009
I have a question, regarding the use of two internet connection on the same server. So, the thing is like this: The server will have 3 network adapters: connected to a DSL modem (on this adapter I have one of the internet connections, a PPPoE connection. It's only purpose is to share the internet connection to all LAN users using SNAT.
eth1 ----> the other internet connection, a much more expensive one actually, used for hosting a website, a domain name server, and a qmail server. eth2 ----> LAN connection So what I want is to make eth1 the "default gateway" (for outgoing mail, DNS requests, etc) and, as I said, use the ppp0 connection on eth0 only for internet sharing in LAN.
My question is (since I'l configure this server in about one week), does anybody have any suggestions regarding how could I accomplish this? I mean, I'm affraid that ppp0 will also try to use the default gateway from the other internet connection and vice-versa. Now, I know I can use the ip route/ip rule commands, but for many reasons I'd like to keep it simple and not use them.
View 4 Replies
View Related
May 25, 2010
I'm curious how I can use a Windows client with two separate accounts to connect, at the same time, to a SMB server hosting two shares. (Provided permissions and accounts are all in order)
Scenario:User1 is always logged onto a Windows client mapped to a Public share on a Linux SMB server.I need a way to keep User1 connected to the Public share and then when needed, allow User1 to provide User2's credentials to connect to a Restricted share.The only way I've been able to do this is to disconnect from the Public Share then reconnect to the Restricted share using User2's credentials. (This is the issue because I need to keep User1 connected to the Public share).Is this a limitation of SMB? Or am I missing a configuration? Please point me in the right direction
View 5 Replies
View Related
Jul 13, 2010
I'm having problems getting openssh server to accept connections in Ubuntu 10.04.Here's what I've done (twice): Installed Ubuntu 10.04 on USB drive with pendrive installer. This creates a default user "ubuntu" and you don't get the chance to choose a password for it. Started a keyring for network access and selected password. Works.Enabled VNC and selected password. Works fine with VNC client on local network. Logs in as "ubuntu" user and asks for the VNC password, then connects. Note: the client doesn't know the "ubuntu" user password, and neither do I! However, it works.Installed openssh client and server from Ubuntu s/w center.
$ ssh localhost OR $ ssh ubuntu@localhost try to connect, but asks for password, which I don't know (see step one, above) so, then I created a new user, with known password, logged in as new user in Ubuntu, works.however, $ ssh newuser@localhost still fails, even when correct password for <newuser> is supplied. Rejects the password three times, then gets the usual error about keys.I also tried connecting with an SSH terminal app from my iPad, again using <newuser>. It gets essentially the same error, "failure to authenticate".
All this is still on my own LAN, haven't gotten to going outside the router yet.What I want to do in the end is use VNC over SSH from a client on my iPad to talk securely to Ubuntu while I'm traveling.
View 9 Replies
View Related
Jul 22, 2011
I ran an update on ubuntu server today, and after a long install process, it spat out an error, telling me to run "sudo dpkg --configure -a". After I ran that command, I was no longer able to access my website or forum. I could really use some help with this one, I've tried so many things including disabling shorewall, restarting apache, so many things...
View 9 Replies
View Related
Feb 3, 2010
I have to configure squid server which will have two internet connections on two separate lan cards and both will run simultaneously.I know how to configure squid server with one internet connection
View 4 Replies
View Related
Dec 9, 2010
I have run a small webserver from my home computer and I can access it fine from computers on my local network, but cannot access it from other networks. I see in wireshark that the traffic is arriving at the computer and I have checked the firewall logs on my computer and nothing is being blocked(I use iptables as a firewall), and I can't see any reason why it shouldn't be working.
View 2 Replies
View Related
Jul 18, 2010
I am running webmin on ubuntu server 10.04lts I have dovecot installed.when I try to check for mail the server unexpectedly terminates the connection. window live mail gives this error, and when i use telnet to try to login and get email it terminates the connection right after i send the "PASS thisismypassword" command.
View 8 Replies
View Related