Tag Info

Hot answers tagged

3

I have this little script kept in ~/bin/infinite_ssh(1): #! /bin/bash -x # while :; do ssh -R 2222:localhost:22 remoteserver sleep 86400 sleep 10 done this is connecting to the remoteserver and creates a backward tunnel so that in the remote server I can ssh my desktop by using ssh -p 2222 localhost. Your application may, obviously, ...


2

You can append a line with that setting to /etc/sysfs.conf: kernel/mm/transparent_hugepage/enabled = never This is the cleanest solution, because it keeps all the sysfs configuration in one place instead of relying on start-up scripts. The other answers, with the scripts and conditional expressions, are suitable if you don't know through which path the ...


2

Connecting inside your LAN: Just type in the local IP, the one output from "ifconfig" or "ip address". To have people outside your LAN connect: Forward a port to your game server's local IP address. In order to not have to adjust the forwarding all the time, you'll probably want to assign your game server a static IP address from your router. Anyone ...


1

Lots of ssh brute force attacks taking place. It is possible you have an obsolete ssh package and they got in that way. Check for ssh failures in the logs, he maybe simply doing a brute force against you. go to /tmp and post its output from ls -al, if there is a root kit it might show up there. You can set allow users in ssh and fail2ban is useful as ...


1

Can we say with certainty that an IP from china somehow SSH'd into my machine? Even though it only accepted RSA key authorization? It is unlikely they were authenticated, unless they managed to obtain a valid key. Try connecting from a host you control without a key and check the running processes. They should be similar to what you saw. The fact the ...


1

The address 127.0.0.1 is the loopback address. As you have the 127.0.0.1:7788 in the "Local Address" of netstat output, this means that the connection is only listening for connections originating from this computer only on the loopback interface. No other computers on the network can reach your loopback address directly hence the telnet is failing from ...


1

java is listening in 127.0.0.1, that is localhost. You can't connect from outside, unless you do some kind of forwarding, using ssh for instance. Edit: from external hosts, if unix/linux ssh -L 1234:127.0.0.1:7778 runtime then from that external host, telnet 127.0.0.1 1234 (ssh will forward you) if windows, use putty or bitwise to forward local ...


1

I was able to fix it by the following command. sudo pico /etc/default/grub Change GRUB_CMDLINE_LINUX=”" to GRUB_CMDLINE_LINUX=”text” this makes Ubuntu boot directly into Text Mode.


1

There are many tools such as Salt, Ansibel, Chef, and Puppet that can be used for this purpose. We are currently using salt to automate all of our server builds. We evaluated other tools and decided to use salt for various reasons. I would suggest that you give salt, ansible, puppet, or chef a try to see which one you like best. Overall they all pretty much ...


1

As ssh uses port 22 by default and I only see port 8880 mentioned in the screenshot. Try the following, sudo ufw allow ssh If you would only want your own IP address access to ssh you could use, sudo ufw allow from xxx.xxx.xxx.xxx to any port 22 Replace xxx.xxx.xxx.xxx with your own IP address. Please check if you have a static IP address and not a ...


1

Yes, it is generally safe. Apt has the packages signed, and verifies those signatures. Ubuntu is based off Debian, who designed the package system. If you want to read more about their package signing, you can do so at https://wiki.debian.org/SecureApt. I suppose a mirror could not tell you about updates when they are released, but you would likely notice ...


1

I assume this is because Calc isn't able to access the PostgreSQL database. Double-check if PostgreSQL is running: sudo service postgresql status should return something like 9.3/main (port 5432): online If PostgreSQL is running, check the credentials. By default, there's no admin password set for PostgreSQL. Calc assumes postgres as admin password, ...


1

Here you're the script: #!/bin/bash day="$(date '+%d')" # day=DD moth="$(date '+%m')" # month=MM (i.e. 04) If do you want to use it by name (i.e. April), use B ('+%B'), to use it's abbreviation (i.e. Apr), use b ('+%b). year="$(date '+%Y')" # year=YYYY, if do you want YY, then use lowercase y ('+%y') ...


1

/usr/lib/x86_64-linux-gnu is /usr/lib64. This changed when Ubuntu 12.04 came out.



Only top voted, non community-wiki answers of a minimum length are eligible