On my stable/squeeze computer, I have /etc/ssh/ssh_host_rsa_key.pub but I cannot find this in my testing/wheezy computer. Why can't I find it? Did the way to retrieve one's public rsa key change? I have openssh-client and openssh-server installed on both computers.
How can I forward all traffic from a public IP to another public IP. Let's say I have a first debian box named box1 with eth0 = 1.1.1.1 and eth0:1 = 1.1.1.2 and I want to forward all traffic from 1.1.1.2 to "box2" located somewhere else over the internet and having for eth0 2.2.2.2 Both 1.1.1.0/24 and 3.3.3.0/24 are public IP ranges.
I'm trying to write a p2p file sharing program using python's built-in libraries. Everything is going well. The only thing is that i'd like to be able to use openssl public and private keys so only a host with the public key could access/decrypt the filesharing. I've gotten these libraries (httplib, basehttpserver, ssl, os) to work using just a pem file containing both the public and private keys but no success with them seperately. Can someone point me in the right direction or offer an alternative? PS, the goal of the project is to create an anonymous, decentralized, secure file sharing program. I want to be able to upload this to sourceforge so everyone can use it, if that's any incentive
The following errors show up when I run from the file from the term window, but are not written to log.log:
tar: /public/public/clamscans/*.txt: Cannot stat: No such file or directory tar: Error exit delayed from previous errors mv: cannot stat `/public/public/clamscans/*.txt': No such file or directory
I know with windows you can add the 2>&1 to capture error data. Is there such a thing for Linux?
I have a server using ldap. I installed Debian with an Apache webserver with PHP and MySQL support.This server will be used for intranet so I want to know what the REMOTE_USER variables is.Looking at the phpinfo does not give any reference to the REMOTE_USER. REMOTE_ADDR is no problem but does not give me the user using the computer.I've installed libapache2-authenntlm-perl with apt-get and adjusted my /etc/apache2/sites-enabled/000-default file with the following:
where server is my servername and domain is my domainname.The problem after reloading apache2 is that I get the following message: This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.When I delete the AuthType, AuthName and require line it loads the webpage but without the REMOTE_USER variable.
It is not ment to ask for a password or username, just to get the username used to log in in the Windowsenviroment that visits the webpage on this Debian.
I'm very new to Linux world however I managed to I installed Debian lenny on my box using a set of CD burned from ISO images. Everything works just fine so far. However, every time I try to update it always asks me to insert the CD and it's somewhat inconvenience. How to make debian just goes straight to the repository site to download the packages that I need
I am very new to encryption. Right now I am making certs and keys using RSA public-key cryptography. Is RSA the best? What other public-key cryptography <?> is there to use? Is <?> a cipher or algorithm? Whats the difference?
I am on Debian/Tor/Vidalia environment and I am thoroughly confused as to what the Apt-get engine does. To put it simply, I landed on Debian because I heard that Torrent-downloading stuff via an external application such as U Torrents does no longer guarantee anonymity, even with a Tor proxy server. So I got into the Amnesia CD stuff, after burning the ISO image on CD. I was hoping then to be able to install U Torrents on Debian and carry out the U Torrents downloads from within the Debian shield.
I did download U Torrents but I was unable to install it from the .exe file. Then I heard that programs can be installed in Debian only via a special APT-get engine. My understanding was that by running the" APT-get" engine in the CMD( Terminal) screen, I'd be able to access the softwares I wanted to install, such as U Torrents..
Unfortunately, when I run the " Apt-get" engine with the script " Apt-get Install + software name, " I get a " no packages found" answer. I searched for Bit Torrents, Azureus, U Torrents and a host of other common softwares, to no avail.. None is there. I even got to the APT-get.org site. THere I did find hundreds of repositories and packages , but I haven't the slightest clue as to what they contain. This database is not searchable by software name, so I don't know if and where my software is there.
I bought vps server and now I want to upload openssh public key. With this command:
ssh-copy-id username@ipaddress the result is: /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: ERROR: ssh: connect to host xxxxxxxxx port 22: connection timed out
with this command: cat ~/.ssh/id_rsa.pub | ssh username@ipaddress "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys" the result is: ssh: connect to host xxxxxxxxx port 22: connection timed out
also with this: ssh username@ipaddress the result is: ssh: connect to host xxxxxxxxx port 22: connection timed out
I often run into this and it's such a hassle that I have had no choice but to ignore it. But, I would like to run it properly but I don't understand why my sources list is 'wrong' or has incorrect info so that it's often not verified or authenticated. The public keyring is wrong or the source or both? I get these messages, for e.g.:
# apt-get update && apt-get install dmo-archive-keyring && apt-get update exit with result: W: GPG error: http://unofficial.debian-maintainers.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9EEBC8DB9B9C3CB6
I probably don't need that but I ran into a similar error trying to authenticate the multimedia keyring. Not sure it worked but I am guessing the system works the same with all the authentications? I hope to understand what I'm doing wrong and what the process is.
I have added the following line in sources.list, deb [URL] squeeze main non-free
Running apt-get update i get this error message, Reading package lists... Done W: GPG error: http://www.debian-multimedia.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 123456789
Do i need to generate this public key 123456789 ? If so, how?
Running apt-key update has not solved the problem.
apt-get install debian-archive-keyring was a recommended solution from some googling.
I have also read this page, [URL] , but how to add a key is under construction.
I have two computers running Debian Squeeze. I'm trying to set up the public keys for them so that I don't need to use passwords to log in. As far as I know, I did the same thing for both, however only one is working.Here is the connection output for eachBroken:
Code: OpenSSH_5.1p1 Debian-5+b1, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config
I'm testing on a VM version in debian LAMP with CGI / FastCGI enabled. My goal is to run a PHP script via cron, unfortunately I can not run it .. I don't understand if I'm using a wrong path for the execution of API CGI or I get lost in the syntax ...
here is my cron:
H # m Sun mon dow command 10 * * * * * / etc/php5/cgi / var / www / import / import.php? Mode = P
where to retrieve the execution path and how to troubleshoot the cron ?
I turned on my debian systems. Update tells me that I have 26 updates, mostly to samba. I proceed and it gives me an error saying something about public key not available. Suggests to try smart update. I do that, smart update says I have 129 updates available (reasonable I guess b/c I have not updated in close to a year)
I proceed with smart update...now it says I can install 137 updates, I hit Check, tells me it is downloading packages, then, I get an error: W: GPG error: http://code.highrise.ca lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B95C4D3ECC4D3D27
I don't understand why....What is the solution for this?
I installed Chromium Browser and made it default. The version which is available through squeeze and wheezy main is a dinosaur, and as such I cannot install any Chrome addons. I tried ubuntu or launchpad ppa for Chromium-Daily. I added [URL] maverick main to my Third party Repositories. Its not working.
The terminal returns an error: W: GPG error: [URL] maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A9BF3BB4E5E17B5
I'm pretty new to Debian, and I'm trying to set up Apache 2, and I want to set the DocumentRoot to public_html in my home dir, but I run into some problems.
I tried to change this (/etc/apache2/sites-available/default): <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/ <Directory /> Options FollowSymLinks AllowOverride None .....
When I restart apache I get a 403 error, and when I change it back to its original, it works fine. I want to change the DocumentRoot so I can upload files via FTP to ~/public_html. ~/public_html has the mode 777.
I've installed it properly until it works now, it does send emails and receive them, but heres the problem.
1) it does not send emails to a certain domain, unless i do dpkg-reconfigure on exim4 and put the domain on allowed relay... can't i just put something on settings which allow to send emails to ALL domains?
2) EVERYONE can connect to the server by telnet from any position, terminal or pc, and just use an existing user to send emails to anyone.... example, i have testuser123 setted up in debian/exim4 .. then they simply write "mail from:testuser123@host.dot" and the server accepts it.. without even request an authentication for that. And this is a problem, because everyone can use my email addresses to send emails to whoever.. heaven for spammers/hackers..
Just added Squeeze multimedia repositories in source list,but get this after reload :
W: GPG error: ftp://ftp.debian-multimedia.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
However,update for Audacity & Mplayer showed in Update Manager,and I successfully updated.
My /etc/resolv.conf file is normally just set up to use Google's public DNS:
When I connect to the network at the university library, it totally overwrites my /etc/resolv.conf file to something like:
This is pretty annoying, so I tried comprimising by making a file with the school's domain and search entries plus the Google nameservers, then revoking write permission on the file. However, I couldn't access any domain name with this config on their network, so I reverted to using their nameservers. I keep all the school's entries commented out when I connect to my home network.
My ultimate question is what is actually overwriting the file? I suspect that my connecting through DHCP is responsible. Whatever it is, I'm pretty annoyed that no back up file was created.
I'm trying to give some windows users a permanent connection to a samba share behind a firewall over the public Internet. I know I can give them access with something like winscp (which they have done) but really I'd like to do it with a VPN so it seems seamless to the user. However I have no idea how to set up the server to support this and am finding the documentation a bit confusing. The samba share is on a Debian box and the firwewall is a Linksys WRT54GL.
I am trying to install 5.3 using net install disc, where it hangs for over 30 minutes trying to retrieve stage2.img. Second time. After first time and waiting over 25 minutes, I tried Debian net install on another box, and it's done with installation long ago, while this one is still hanging (and from the looks of it I doubt it will continue).
1. Network is good, the box pings, network parameters are good, Debian worked flawlessly with same parameters
2. It did pull all it needed before stage2.img
3. Plenty of RAM in the box, over 3 GB
4. The box needs no additional drivers (except newer version of kernel as vanilla still doesn't have a complete support for Intel DP43TF board), distro has them all
Why everytime I send apt-get update I got this error on the last lines? Reading package lists... Done W: GPG error: [URL] Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8F91B0E6C862B42C Here is my /etc/apt/sources.list
I have a debian server installed with a static ip. Now i am able to ping my ip, but when i try to configure a domain name with the nameserver as my ip, i am not able to ping the domain name
Yum cannot seem to reach any repository. Firefox was fixed by going to about:config and changing network. dns. disableIPv6 = TRUE .Can anyone who has this same problem with a FRESH install of Fedora 11 please confirm that static assignments in the hosts file fixes the issue.
I did preupgrade from fc9 to fc11. I encountered with "an internal system error has occurred". It is keep on bugging even after closed. The details are as follows:
Traceback (most recent call last): File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2093, in get_distro_upgrades pkgs = self.yumbase.pkgSack.returnNewestByName(name='preu pgrade') File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 649, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 491, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.6/site-packages/yum/repos.py", line 260, in populateSack sack.populate(repo, mdtype, callback, cacheonly) File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 162, in populate if self._check_db_version(repo, mydbtype): File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 220, in _check_db_version return repo._check_db_version(mdtype) File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1178, in _check_db_version repoXML = self.repoXML File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1342, in <lambda> repoXML = property(fget=lambda self: self._getRepoXML(), File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1338, in _getRepoXML raise Errors.RepoError, msg RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
i installed fedora 11 today and i am unable to update it whenever i try i get this message: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again both in yum update and in software update where can i get repmod.xml