Ubuntu Servers :: Gitosis Installation Of Public Key Not Working

Dec 5, 2010

I resolved the issue, see post #4.I've installed gitosis on a home server running Kubuntu Maverick, but am unable to get the ssh public key to work. When I try to clone, I get a password prompt.I entered a password for the key file. Then I copied the resulting public key to the server's tmp directory:

View 3 Replies


ADVERTISEMENT

Ubuntu :: SSH Server Broken - How To Get Gitosis Working

Jan 21, 2011

So I am using 10.04 and was trying to get gitosis working on my machine so that I could use it over ssh. Anyways I'm not sure what happened (as I did this a month ago) but ssh isn't working now. When I try to ssh on the box (ssh localhost) I get the below error.

PTY allocation request failed on channel 0
bash: gitosis-serve: command not found
Connection to localhost closed.

First I know that gitosis-serve was incorrect anyways, but what I can't figure out is where that command is being called from. When I run a terminal from the box I don't get the error so it seems to be only ssh.

View 1 Replies View Related

Ubuntu Servers :: Samba Public Share Not Working?

Jun 25, 2010

Code:
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#

[code]...

View 5 Replies View Related

General :: Setup Git Repository On Gentoo Server Using Gitosis & Ssh

Feb 25, 2010

I installed git and gitosis as described here in this guide Here are the steps I took:

Server: Gentoo
Client: MAC OS X

1) git install emerge dev-util/git

2) gitosis install

cd ~/src
git clone git://eagain.net/gitosis.git
cd gitosis
python setup.py install

[Code]....

SSH asked password for user git. Why ssh should allow me to login as user git? The git user doesn't have a password. The ssh key I created is for the user expert. How this should work?

Do I have to add some params to sshd_config?

View 3 Replies View Related

Ubuntu Servers :: Ssh -i Public-key On Same Box Still Asking For Password

Jun 18, 2011

I'm on Natty Narwhal and wanted to play with ssh but I can't seem to get ssh to work without having to specify a password. I've installed openssh-server. I've generated a public/private key pair:

ssh-keygen

I can see my id_rsa and id_rsa.pub and known_hosts.

am logged in as user pgroarke and simply trying to run ssh on the same box.
Regardless of whether I specify either localhost or hostname I still get asked for a password:

ssh -i ~/.ssh/id_rsa.pub pgroarke@spock date
pgroarke@spock's password:
Here is the relevant contents of my /var/log/auth:
Jun 18 16:21:37 spock sshd[30357]: last message repeated 2 times

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Public - Anonymous FTP With Vsftpd

May 19, 2010

In my house I have a small computer running ubuntu karmic that works as a server/media center.

I would like to have a folder (my ~/public folder) openly available to the entire world via anonymous ftp.

I have read somewhere that the defauld vsftpd config is basically this: no local user login, anon only and sharing a folder called /home/ftp, but I can't get this to work.

Here is my /etc/vsftpd.conf file:

Code:

View 9 Replies View Related

Ubuntu Servers :: Multiple Domains With One Public IP?

Jun 21, 2010

I would like to set up an ubuntu server to forward outside requests directed to different domains to different computers on my local network. The bind is I only have ONE public IP.

Here's an example of what I want to do.

- if a request is sent to www.first-domain.com, I want to forward it to a local server (say 192.168.0.10)

- if a request is sent to www.second-domain.com, I want to forward it to a local server (say 192.168.0.20)
and so on...

I will need to forward these requests not only for web sites but for other services such as SSH, mail, RDP, VNC, etc etc PS Once it hits those local servers, I know how to use iptables to forward them as desired.

View 7 Replies View Related

Ubuntu Servers :: Set Up A VPN That Is Secure Using Public WiFi ?

Jul 19, 2010

I am going to be away semi permanently and want to create a VPN that will allow me to act as if my laptop was connected to my home network.

All I want is for the drives to be accessible so I can use them for primary access as if they are in the laptop.

Questions:

1. Can I set up a Linux VPN that is secure using public WiFi (or however I connect to the net) when I am on the road?

2. I will be using a desktop (32 bit) as the server, what version of Linux would be best for this?

3. If my server is linux and the server drives are NTFS will they be accessible using a windows machine? (I will be double booting the laptop)

4. I would like to set up a pass-code that is stored on the laptop so that only that machine can get access.

This can be up to 255 characters and encrypted so it would be very hard to break. Even I would not know what it is. (I would store it on a pen drive and be able to recover it from there.)

One more. I might want to add separate users that only have access to their one drive, not the server drive. Is that OK?

View 5 Replies View Related

Ubuntu Servers :: NAS Public Folder Not Getting Mounted?

Sep 21, 2010

We have an Iomega StorCenter ix4-200d in our office. for past two days the shared public folder is not getting mounted. but it's working fine through the web interface i.e user can upload/download.that rules out the permissions problems.

I am providing the output of mount command:

t227@t227:/var/log$ sudo mount -t cifs --verbose //192.100.100.37/public /mnt/public/ -o username=shrey
[sudo] password for t227:
Password:

[Code]....

in fact i can't access any of the folder which I am having permissions to rw.but it's working fine through the web interface.

P.S:- On windows also I can't mount the folder.

View 1 Replies View Related

Ubuntu Servers :: Unable To SSH From Outside LAN (Public IP Address)

May 2, 2011

Basically I am trying to set up my own server so that I can ssh into it from anywhere. I am able to SSH into my server when I use the LAN IP of my server but I am not able to SSH into it if I use the public IP address. I have read many threads and in my opinion I've tried almost all of the common fixes suggested. One possibility may be that my ISP has blocked port 22. I have taken this into consideration and sent them an email and I'm presently waiting for a reply. However, I highly doubt that my ISP has restricted acess to port 22. I would really like to be able to SSH into my server from anywhere.

1). I installed openssh client/server using the following commands:
Code:
sudo apt-get install openssh-client
sudo apt-get install openssh-client

2). I forwarded port 22 on my router. (see attachment for the settings)

3). I modified /etc/ssh/sshd_config such that my server has a static LAN address.
contents of sshd_config file:
Code:
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to .....
I then entered the command:
Code:
sudo /etc/init.d/ssh restart

4). I turned off the firewall using the command:
Code:
sudo ufw disable

5). Here is the output of the IP tables:
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination

View 9 Replies View Related

Ubuntu Servers :: GPG Error: Public Key 40976EAF437D05B5

Jun 23, 2011

GPG error: [URL]... hardy-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 Tried this with no luck:

sudo bash
apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update

View 3 Replies View Related

Ubuntu Servers :: Unable To Access UEC Instance From Public Ip?

Apr 14, 2010

I have setrup Ubuntu Enterprise Cloud on a single machine.

1) I am able to run the instances from store (karmic) On running the instance two ips are assigned (public and private) as 10.B.C.X and 172.19.1.2

2) I am able to connect to the instance (10.B.C.X) through ssh (using key)

3) However I am unable to access the instance outside the UEC (using public ip). When I try pinging, I get an error Request timed out or sometimes Destination host unreachable.

4) I have provided the following access using euca-authorize

Details below:
1) Hardware : Blade (64 bit)
2) Version : Ubuntu 9.10; Eucalyptus the one using apt-get install eucalyptus
3) Topology : Single physical system
4) Mode : Managed no-vlan

[Code]...

View 1 Replies View Related

Debian :: Use The Bitlbee Public Servers?

Jun 26, 2010

Can someone post how to use irssi with bitlbee . I know how to use the Bitlbee public servers but I would rather install it and use it that way.

View 4 Replies View Related

Networking :: Multiple Web Servers With One Public Ip?

Feb 16, 2009

i am working at a place that has 2 physical web servers yadayada1 and yadayada2 but only one public ip address i can use dyndns to register 2 dynamic domains on the same ip address
how can i get yadayadayada1.dyndns.org to route to yadayada1 and yadayadayada2.dyndns.org to route to yadayada2 ?

View 14 Replies View Related

Ubuntu Networking :: OpenSSH Public Key Authentication Not Working?

May 22, 2010

I'm trying to get OpenSSH public key authentication to work. My server runs ubuntu. My client is a windows machine, and I'm using cygwin. I tried using the instructions here: [URL]... If I test it out using this line: ssh -v -v -v -o PreferredAuthentications=publickey server.example.org

I get this:
debug3: no such identity: /home/Julie/.ssh/identity
debug1: Offering public key: /home/Julie/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug3: Wrote 368 bytes for a total of 1477

[Code]...

View 2 Replies View Related

Ubuntu :: Ad Hoc Not Working - (network Isn't Created For Public Access)?

Aug 3, 2011

Today I was creating an Ad Hoc network for sharing internet connection and I realized it is not working. I have done it before on Ubuntu 10.10, now on 11.04 it just doesn't work. I create a new connection (Create New Wireless Network) and it is never visible to the other computers (I checked the IPv4 settings, it was Shared to Other Computers). I really do not know what is going on, my wireless card is working perfectly fine (I can connect to other network and on additional driver it is there with a green circle).

View 9 Replies View Related

Debian :: Ssh Public Keys Not Working?

Jun 21, 2009

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

[code]...

View 2 Replies View Related

Ubuntu :: Use Openssl Public And Private Keys So Only A Host With The Public Key Could Access / Decrypt The Filesharing

Aug 2, 2011

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

View 2 Replies View Related

Ubuntu Servers :: Set Permission For Future Public Files / Folders?

Jan 2, 2010

I just set up an VPS with ubuntu. I made a user1 and gave it ownership

Code:
chown -R user1 /home/www

This user also have been given all the root privileges (I know it is not recommended!)

The problem is that each time I make new site, and user1 wants to upload (through ftp) files to /home/www/newsite I need to redo the the above command in order to be enable user1 to upload. Not only this, I need to rework permissions (744 for folders and 644 for files), otherwise the newsite throws permission errors message.

View 2 Replies View Related

Ubuntu Servers :: Setup The Necessary Public/private Keys To Use In FileZilla?

Jan 26, 2010

I installed OpenSSH via tasksel and am using Webmin for administration. I'd like to be able to SSH externally and want to setup the necessary public/private keys to use in FileZilla. In Webmin, under Servers > SSH Server I can click 'Host Keys' and see an RSA key. Is this the public or private key for my server? Do I need to copy this into a text file to import it into FileZilla on my remote PC (that I want to connect from)? Is that all that needs to be done (aside from opening the port on my router/firewall)? Or, is there an automated way to set this up via Webmin?

View 1 Replies View Related

Ubuntu Security :: Public / Private Keys On Multiple Servers?

Mar 26, 2010

At the moment we have one SSH server with the private key being on a usb flash drive, and the public key being on the server in authorized_keys2. Now that three more servers are coming online, should we generate new keys, so we have muliple private and public keys (one pair for each server), or use the same two keys to access all the servers

View 5 Replies View Related

Ubuntu Servers :: Sharing An Encfs Non Public Folder With Samba?

Jun 7, 2011

I've been trying to share a folder with samba. This folder is the decrypted version of an encfs encrypted folder. Mounting the decrypted folder on the server is done automatically on login using gnome-encfs. Exposing the folder locally works like a charm. Now where I get stuck is trying to access the samba share from a client (even with smbclient on the server itself). I can see the share with smbclient -L:

tijm64@tijm64-HTPC:~$ smbclient -L 192.168.1.100
Enter tijm64's password:
Domain=[TIJM64] OS=[Unix] Server=[Samba 3.4.7]

[Code].....

View 1 Replies View Related

Fedora Servers :: Samba Public Share ?

Jan 26, 2011

I wan't whatever file/folder that ends up in the public folder to automaticly be open to whosoever access that folder. Right know I have to "chmod -R 777 file/folder.* "

View 4 Replies View Related

Ubuntu Networking :: Public Files/network Sharing Not Working?

Mar 21, 2011

So I want to put some of my folders on my network. I open up nautilus and go to my home folder and right click -> properties-> share and then selected share this folder, made it so that others could modify stuff on it and have guest access (which is what I want), and changed the share name to "home". Then I clicked create share. I then went to Places->Network->******'s public files on [the name of my computer]. But then some stupid error message popped up saying:

"DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)"

View 7 Replies View Related

Server :: SSH: Automated Login Via Public Key Not Working?

Aug 17, 2009

Run a script on ServerA which uses a ssh-connection to ServerB to execute a few commands on ServerB. As ServerB only allows login with username+password the whole stuff gets more complex. SSH provides key authentication enabling passwordless login as you probably know. So as stated in many tutorials I did the following:

Quote:

ssh-keygen -t dsa
ssh-copy-id .ssh/id_dsa.pub osr@10.17.120.207

Trying to connect with

ssh osr@10.17.120.207

should now be passwordless but I'm somehow still getting the prompt for the password.here the output from ssh -vvv osr@10.17.120.207

Quote:

OpenSSH_4.1p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *

[code]....

interesting are probably the following lines:

Quote:

debug3: Not a RSA1 key file /users/osr/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'

View 11 Replies View Related

Fedora Servers :: DYNDNS Changed Public Key - Now Scp Doesn't Work

Apr 9, 2010

A week ago or so neither ssh nor scp were working when attempting to connect to my on-campus computer from home. ssh was complainig about the key not matching and I figured out I could just delete the config file it was reading the (now old) key from and let it create a new one with the updated key upon prompting me whether or not to trust the remote host.

However, even though ssh is now working, I can no longer use scp. I issued scp -v and discovered a bunch of errors. scp prompts me for the remote password and even prints the message of the day on the remote computer but then just hangs and doesn't seem to be copying any files. I'm sure the issue is with the whole key change issue but I can't quite figure out why ssh would be working just fine and scp would be failing.

View 1 Replies View Related

General :: Mv: Cannot Stat `/public/public/clamscans/*.txt': No Such File Or Directory

Sep 24, 2010

I run the following file with the >log.log redirector and it does not capture errors.

#!/bin/bash
echo ************************BEGIN LOG******************************
date +"%m/%d/%Y %H:%M:%S $HOSTNAME"
cp -f /scripts/original/clamscans.log /scripts

[code]....

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?

View 2 Replies View Related

Debian Configuration :: Forward Traffic From Public IP To Another Public IP?

Mar 3, 2010

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.

View 1 Replies View Related

Fedora Servers :: Apache Hosting User Public HTML - Forbidden 403

May 6, 2009

I have apache working,i have users set under admin group in /home/admin/username/html that is with an html publicfolder at the end, now permissions are set right, /html is set to mode 777, and the contents also inside them. But everytime i do a 10.0.11.25/~les i get a damn forbidden error code, its got me so pissed off and i dont' know whats the problem. This is the error i get: Forbidden 403 You don't have permission to access /~les on this server.

Code:

[Tue May 05 19:37:48 2009] [notice] Apache/2.2.11 (Unix) DAV/2 PHP/5.2.6 configured -- resuming normal operations
[Tue May 05 20:44:30 2009] [error] [client 10.3.0.254] (13)Permission denied: access to /~les denied

[code]....

View 10 Replies View Related

Ubuntu Servers :: Setup Access Properly From A Public Address To A Monitoring Server That Works Fine Locally?

Apr 19, 2011

I've spent days trying to setup access properly from a public address to a monitoring server that works fine locally. Everything works from public access until I try to link to a CVS repository. The rancid CVS repository is set up as a separate server (virtualhost). It appears the referring link causes a DNS error (105: Server Not Found) when the CVS repository server is accessed from the public address. Things work fine when accessing via localhost.

Localhost link:

[URL]

Public link: (this results in 105 error caused by redirection (bold portion of link))

[URL]

Code:

Virtualhost config:
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log

[code]....

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved