Ubuntu Servers :: Config - Change / Add From The Default OpenSSH Config Files To Get Tunnelling To Work?
Jul 10, 2011
I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:
Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.
Where is the config file for the sftp bit? At the mo it shows all the hiddenfiles (dot) and I don't want it too. Don't laugh, I have just configured my proftp for this, and realised, hang on this isn't the program that dishs out sftp!
I just set up squid for the first time. I have zero experience with proxy servers. I used this guide:[URL](I also looked at a few other guides such as this one:ttp://ubuntuforums.org/showthread.php?t=320733. However, I wanted to most barebones config to start with and the link I used was the simplest.)So now that I have it set up, I'm testing it with FoxyProxy. It is not working well. I went to speedtest.net. The download and ping tests were just as fast as without the proxy, but the upload test fails completely.Furthermore, many web pages load very slowly or not at all. So performance is very mixed, but mostly poor.
I built out a headless VMWare v2.0.2 Server. I managed to work all that out but now I'm having some trouble getting my virtual machines on the server. I installed both proftpd and vsftpd but neither server lets me log in. 'Login Failed' is always returned (using the only account on the machine - created during the install).
So I decided to install samba, but samba chokes on large files. I tried over and over again to copy a 10GB VMDK file over samba and it gets to 5% or so and suddenly tells me there is a network problem and dies (which there is no network problem as these machines are all on the same subnet plugged into the same gigabit switch).
So now I'm back to FTP. Unfortunately when I ran apt-get remove proftpd, it didn't remove any of the config files (/etc/proftpd/*) so I manually deleted them. Now when I try to reinstall the FTP servers they won't start because the config files are gone. What's the apt-get syntax to completely uninstall these servers as if they had never been installed so I can start clean? I really don't want to have to do a complete system re-install just to fix 300KB FTP servers.
not trolling for a flame war but I simply added the testing repository earlier and did an apt install of just lottanzb and it ended up taking ages and installed lots of new files and removed things like Epiphany etcetera, and that one command had me having to reinstall as it messed everything up so it wouldn`t work at all even the shell was messing up.I have never had Windows break totally from an install, but first try with Linux and it did so could someone explain why an apt-get install lottanzb would change all my libraries, config files etcetera with the testing version over Lenny stable?
I recentled upgraded all the packages on my server and now I have an issue where I can't get any thing to install or uninstall do to errors, This is what I get:
I am running a server with a GRSecurity patched Kernel 2.6.32.36. I've tried to optimize the kernel as much as I can and know it (removing options, not needed drivers and so on) and compiled the modules into the kernel (no loadable modules anymore). I've started with Slackware 13.0 and the default config for 2.6.29.6-huge. Still I am not sure what to remove/optimize further now.
My question: Is there a way to boot with a kernel with loadable modules, check which modules are really needed for this hardware, (do something like lsmod) and save the running configuration modules for a next kernel compile to be the default .config instead of writing them down by hand and search for the appropriate names in .config or during menuconfig? (Note: zcat /proc/config.gz > .config is NOT the way I want, as it gives me just the current kernel config)
I want to configure a VPN over the Internet.I installed the 'openvpn' package, generated the key file, transfered it by a secure way to the client, and setted up the configuration file.
So, in that configuration file I input the IP addresses of the tunneled interfaces. Both IPs are static in the tunnel.
Then, I've heard somewhere that I can assign a dynamic configuration IP for the client. I do this registering a range.
Well, when I tried to change static IP to dynamic IP (changing '192.168.0.2' to '192.168.0.0/24') in the configuration file, the OpenVPN didn't work.
Obviously I don't know what I'm doing, and I really, don't believe that simply changing the IP will make it work, but I tried.
I hope I explained my problem as well.
My configuration file:
# OpenVPN Server Configuration File dev tun 0 ifconfig 192.168.0.1 192.168.0.2 cd /etc/openvpn secret key_file
In client I execute the 'openvpn' without the '--daemon' parameter.Then I want that my client uses a IP in a range (192.168.0.0/24, for example), instead of a static IP (192.168.0.2).I also thought to use a DHCP server, but I'm not sure that will work.
I'm curious as to why system-config-services is not installed by default in Fedora 13. IMO it's a pretty important tool for managing a system. I checked the release notes but could not find any mention of its removal.
I am trying install rhel 6 on my rhel 5. I have downloaded rhel6.0-20100715.2-server-i386-dvd1.iso (from redhat ftp site) and burned into dvd. After rebooting I pressed F12 and chose cd installation.
I get the following message on my screen. "ISOLINUX 3.86 2010-04-01 ETCO Copyright (C) 1994-2010 H.Peter Anvin et al No DEFAULT or UI configuration directive found! boot: "
When I install the FC11 by using"Install or upgrade an existing system"or"Install system with basic video driver"mode...Point 1, I can't config the network config ( IP Address ), due to theerror of network manager...Point 2, I can't enter into the text mode to do the installation steps.Remark:The machine is provide Web,DNS, and Mail Server on the NET ( Internet )
I am getting a strange font problem (see attached screenshot) for a user logging in over VNC Server, I am also logged in over VNC however I am no experiancing any problems... This was the case on CentOS 5.3 and on 5.4. I have tried removing the .vnc dir in the users home dir and re running vncserver so that it recreates it, I found this in the logs:
1. (nautilus:14718): Pango-WARNING **: No builtin or dynamically 2.loaded modules were found. Pango will not work correctly. 3.This probably means there was an error in the creation of: 4.'/etc/pango/pango.modules' 5. You should create this file by running pango-querymodules. 6.Fontconfig error: Cannot load default config file
I have followed the instructions at http://www.vcn.bc.ca/~dugan/setting-up-slackware.html (under "Making Firefox Perfect"), but I still get the error message"Firefox doesn't know how to open this address, because the protocol (rtsp) isn't associated with any program."
I am RHEL 5. I just installed it and when i try to config display it how only two resolution by default 640x480,800x600.No other resolution option is shown. I tried by editing xorg.conf but of no use.
have installed btnx-config however when i run it i get an error message error no code key file btnx-config needs the file/etc/btnx/events to run . make sure you have installed btnx first and that the file exists.
what i need to do to sort this out. i aqm using ubuntu 9.10 trying to configure mouse buttons
I am looking for info about how works automount process, and i didn't find info about the tollowing ...
I wonder ... how can i do to "config" automount process to put all my usb devices in write-back mode as default ... for example ... what file can i change? ... how to do it ?
And another one ... um... how to say to "automount process" ... to put my usb devices into a "deadline" io scheduler .. for example ... how to set io-scheduler for an automount device ?
I'm looking for a manner to prevent users from changing the desktop background/wallpaper and all other gnome configuration with booth Ubuntu and Kubuntu. This too (Abraxis, some years ago, have same my problem) [URL] do not solve the problem, for example if I change whit chown (*) own and group of this file to root /.gconf/desktop/gnome/background/%gconf.xml, at the next reboot file return in the previous state. (I don't like Pessulus). (*) chown root:root %gconf.xml chmod 644 %gconf.xml At the reboot file change automatically owner to "student", I don't know why?
I have google'd the crap out of this and have yet to find a "solved" forum. I currently have 2 sapphire ati 5770's in xfire. I also have two monitors. My (preferred) primary display has a dvi input and my other display is hdmi. I have them both plugged into only one of the cards. For some reason it keeps setting the hdmi display as the primary. And I want them in extended view. The ATI CCC suite does not support changing the primary monitor and I have tinkered with the xconfig but I do not really know what I am doing, so I have ultimately not been successful. here is my xorg.config file.
I just installed Ubuntu on a partition install. It is dual-booted with my Windows 7. Anyways, everything worked fine for a while, until I pressed ctrl+alt+F2. Then it went to this weird full-screen-mode command line thing. It asked for my login so i did, and then it asked for my password, which I then entered. And then I really don't know what I did, but at the end I pressed ctrl+alt+delete, which instead of going to like a task manager, it restarted my computer.
I then booted into Ubuntu again, and it started giving me errors about how it won't update some config files, and then it won't load up like the desktop and the panels. All I see about booting is the default Ubuntu background when you login and nothing else. No panels, no icons, nothing, just the background.
I mistakenly deleted /etc/apache2/port.conf, so I tried to reinstall the package with "apt-get", but nothing. I dug myself in deeper by thinking a script skipped it because the directory was there, so I removed it completely. After reinstalling using "apt-get install apache2", the folders came back, bot non of the config files where there. I am now lost. How can I get them all back?