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 installed lxadmin and now when I try upload files to my lxadmin users public_html folder I get the following message. Cannot write to `backup.zip' (No space left on device). After checking with df -h i noticed / is full.
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 restrict command line ssh and yet keep NoMachine working, so I followed this post [URL]... and tried adding this to /etc/ssh/sshd_config:
On restarting the ssh daemon other users can't login by the terminal, but I can. However, NoMachine won't log me in. I get: NX> 502 ERROR: Public key authentication failed. As a server side check:
I have wordpress server running on my machine and I have SELinux enabled for enforcing/targeted. I am unable to insert images, music, etc from the add new post field on the wordpress dashboard. I receive the following error:
image.jpg has failed to upload due to an error The uploaded file could not be moved to /var/www/html/wordpress/wp-content/uploads/2010/10. When I disable SELinux completely, it works fine. Does anyone know what Boolean I need to check to resolve this issue?
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
have setup a LAMP server with ubuntu 10.04 server edition x86 for my study in VMware Workstation 7.1 For a assignment I had to make a php script that would load a file up to the server and set the name in a mysql database. According to the book the server should set the image in a cryptic folder in the /tmp/ folder.
This isn't working and i also try'd locate and find to find the image i uploaded. I checked the php.ini and file uploads were on but no folder so i set that one to /tmp/ but still no images. Can anyone help me with enabling this function?
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?
ENV: openssh-server-5.4p1-1.fc13.i686 Problem: I am unable to ssh using Putty (when using ssh-auth/pki) to a fedora box . I get the message: Server refused our key. Here's what I tried so far:
- Tried generating rsa (as well as dsa) keys on the linux server and put the generated public key in the ~/.ssh/authorized_keys. Then I converted the private key using PuttyGen.
- Also, tried generating keys using PuttyGen and then converted the public key and placed it on the server
- Configured the sshd server (ssh_config) for using RSAAuthentication=yes. Tried all combinations and purmutations; however, I still get the "Server refused our key" error.
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.
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?
Well I have vsftpd working flawlessly in a file browser or ftp client. I can log in, upload and download; but I cannot upload or download through a web browser. I have tried IE8/9, firefox, iceweasel and epiphany to no avail.
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 was trying to upload a screenshot.png file in a thread 'what your non-debian desktop looks like' on the 'off topic' section. However my filewas of length 509KB but only files of length lower than 256KB could be uploaded. What is the way to scale down the length of the file?
I rent a dedicated virtual server (ve) from Media Temple. It is one of those servers where they give you the base OS install and then you have to install all of your own applications.
Anyways, setting up the FTP software for the server has been hell. I am using ProFTPd and Webmin 1.510. I am able to log into the FTP and upload files to any of the directories that I have created.
The issue here is that I cannot download anything from my server via FTP. I have tried multiple clients (Filezilla is what I use normally), but they all come back with "Transfer cannot be started".
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 finally have my system to where I can connect to proftpd but my uploads fail. I think my problem lies in the upload folder. I do not really understand where to put it. Will someone look at this config file and tell me where to put it and what I need to do to get it working. A basic anonymous configuration, no upload directories.
I am using debian squeeze, with browsers chrome, firefox, and flashplugins installed.
I get online via ipv4 DSL, pppoe(I don't quite sure their relationships), I can browse websites, watch flash smoothly, can download softwares from websites to my desktop PC via the browser chrome or firefox with speed about 200kB/s, if I download an some 700MB ubuntu iso from ftp6.sjtu.edu.cn, it reaches 10MB/s.
The thing is, I can't upload files from my PC to online disks(say [url], [url] via browser (firefox, chrome etc), can't send email with an attach file even as small as 1MB via broser, can't post topics on this forum with attachment, can't upload pics to Facebook.
When I try do these "upload things", the web browser just stays there and doesn't refresh. Some online disks have a instant upload speed of 10kb/s ,then it quickly slow down to less than 200b/s, finally it stoped there ,and say "upload failed, network failure".
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.
It then says an automatic fsck failed and a manual fsck must be performed, then the system restarted. I have done a manual fsck and it did nothing. I booted up the system with knoppix and did it, nothing.
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.