CentOS 5 Server :: Setting Up SFTP On Web Server

May 8, 2010

Running CentOS release 5.4

We currently run a web server that allows FTP connections. I want to:

1. Disable FTP on our web server and require sftp only.

2. See if we can create a table of sites that are allowed to connect to the web server using sftp. Or should I just do this at the firewall?

View 1 Replies


ADVERTISEMENT

General :: Connect To An SFTP Server From A Windows Machine To A SFTP Server Using A DSA Key?

Jul 24, 2011

As a Windows user, I generated a pair of DSA keys from CoreFTP Lite and sent it to a third party that runs an SFTP server. They told me that a valid DSA key needs to have ssh-dsa at the start and the username@systemname at the end. CoreFTP generated neither the ssh-dsa header nor the username@systemname footer. I tried with WinSCP and it didn't generate them either. Is there a difference between how SFTP works between Windows and Linux? If I put a useraccount@systemname at the end of the text will it work? How would the Linux system validate that my system is called "systemname"? If it can't validate, what is the purpose of adding it?

View 2 Replies View Related

CentOS 5 Server :: FTP And SFTP Gone Away After Update?

Feb 15, 2009

I just updated my CentOS 5 installation to 5.2 using yum update command.

But soon after restart, I can't use FTP anymore.

I tried SFTP but it always ended with "out of memory" message.

And last way, I tried to uninstall ftp and replace it with vsftp but still cannot solved.

Now I don't know how to upload my files to this server :(

View 2 Replies View Related

CentOS 5 Server :: Vsftpd Not Being Recognized By Sftp

May 20, 2010

I set up my vsftpd server, but when using "sftp servername" it's not using vsftpd but another (what seems like) built-in sftp server. Even when I stop the vsftpd service I am still able to get a prompt to log in. I haven't installed any other ftp servers.

View 2 Replies View Related

CentOS 5 Server :: Setup SFTP From Scratch?

Jul 14, 2010

I cant seem to find any new good working How to setup SFTP from scratch. Im running CentOS 5.4

View 2 Replies View Related

CentOS 5 Server :: Setting Up Tftp-server - Cisco Switch Configurations Can Be Sent

Feb 15, 2011

I am trying to setup CentOS server 5 with tftp where the Cisco switch configs can be sent. I have the following:

[code]...

View 14 Replies View Related

CentOS 5 Server :: Setting Up CUPS (command Line) On New Server?

Mar 29, 2009

I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be:

a) do this

b) do that

View 4 Replies View Related

CentOS 5 Server :: Rssh Error Connection Closed - Restrict The Users To Scp And Sftp

Aug 6, 2011

I have configured rssh 2.3 with openssh 5.8 on RHEL 5.6 64 bit to restrict the users to scp and sftp. When i try to sftp or scp it gives error connection closed. After long googling tried different solutions like add missing libraries, setuid to rssh_helper. I had full copy of /lib to /chroot/lib and /chroot/lib64 but no success. conf and log files are below for reference.

[Code]...

View 1 Replies View Related

CentOS 5 Server :: Setting Up An Email Server?

May 8, 2010

I have successfully setup Apache,MySql,ftp, and a few other various packages.My question today is setting up an email server.I have past experience with sendmail,and procmail. However only on already installed,configured and working servers.I am trying to setup an email server from scratch.I have Centos 5.4 installed.

procmail.x86_64 3.22-17.1.el5.centos installed
sendmail.x86_64 8.13.8-2.el5 installed

Are those two packages the only ones I need to get a working email server setup? Also I have been trying to configure a procmailrc file for my server under /etc/, but I can't seem to find consistent documentation on how to set up a procmailrc file.I believe my iptables is set to block port 110 and 25 from outside connections. how to open those ports too.

View 4 Replies View Related

Server :: Setting Up A Web Server On (Centos) Using "Apache" Web Server?

Mar 4, 2010

I setting up a web server on my Linux (Centos) using "Apache" web server. And its working well, it will show my websites. But when i try to put my url in a internet browser (ie. only type [URL] ) is only be [URL]. Usually as i know like the other websites [URL] it will go to auto replace the name be [URL]. But my url here it's not be replacing like that. How to do this configuration. I don't know where the services that i need to look. (ie; named (bind) or in Apache web server it self) ?

View 1 Replies View Related

CentOS 5 Server :: SFTP Login For "root" Stopped Working?

Apr 9, 2011

I've been administrating a dedicated Linux CentOS 5 (Linux 2.6.26.5-rootserver-20080917a) server for around 2 years, and although not a network or Linux expert, been learning to configure as need arises. Primarily using Plesk for day-to-day, but occasionally using Putty to SSH into server.

For all the time I've had the server, I've been connecting to my server via sFTP using "root" password. ( Although, I know this is really bad practice, I assume made safer by connecting with SSH FTP)

After spending another normal day in the office developing websites, connecting to my server as root using SFTP in Filezilla AND Dreamweaver I left for the night.

Returned next morning, after having done no manual updates or amends to my server; I could no longer SFTP into my server?

Thought it may be related to my office network, so tried it from home over the weekend, same result; can no longer connect SFTP for root?

I can connect to the server via Putty using my "root" username and password.

After spending hours looking on the internet for a solution, I'm lost for ideas as I didn't make any changes?

What happens when I open my Filezilla and try connecting as SFTP is it states:

Error:Connection timed out
Error:Could not connect to server

I checked server log /var/log/secure and it states:

Accepted password for root from UNKNOWN port 49212 ssh2
Apr 9 07:41:41 s15320264 sshd[7122]: fatal: Write failed: Connection reset by peer

Odd part is, it's worked fine for weeks, months without ever failing to connect?

Also, notice that Putty connection seems to take much longer to authenticate root user than it used to?

Checked via Plesk Health Monitoring and all CPU, Memory and Disk Levels are well below any alarm levels.

I have run all Plesk updates to 10.2.0 in the hope that it resolved it, but to no avail.

View 19 Replies View Related

CentOS 5 :: What To Consider In Setting Up Server

Feb 22, 2011

I've setup a server for a small office (10 people) before with samba domain and file server with slackware. no problem there. now am tasked to setup a samba domain and file server for 300 users in 5 different locations. I am currently given a 1u rack server and I requested for 2x1tb drives that I plan to with RAID.

Some of the offices will be connected via VPN using sonicwall. Would it be ideal for remote users to login to the server in the HQ? Am not so familiar with how other companies setup their servers if they have multiple remote sites. Am also open to setting up servers in each site but because of the currently limited manpower, i'd rather have it close by so I can work on the server remotely if needed.

are there any things that I should consider or are there any good references on setting up a corporate server? the problem now is that the company uses google's email app as their email provider, I have gotten a host to do that already. But since they use email to share files, its not very efficient, hence the file server. But since there are a lot of mobile employees and employees in different sites, I would want them to be able to access those files being shared access the company or departments also.

Then I have to consider how to backup the files and other apps that the company will be using. SInce we will be primarily using linux, we would need to do virtualize some windows based apps that they are using now.

View 1 Replies View Related

Server :: CentOS Setting Up Php / Mysql?

Oct 27, 2010

I'm trying to install php / mysql on a remote Centos server.I've completed the installation stages but when I try ' php -v ' it comes up with these errors:

Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - libltdl.so.3: cannot open shared object file: No such file or directory in Unknown on line 0

[code].....

View 2 Replies View Related

Server :: Setting Up CentOS Email

Jan 13, 2011

I'm trying to setup a couple POP accounts in CentOS. I started doing a tutorial that had me install dovecot, and now I have dovecot running but I can't connect at all.Does anyone know of a simple way to get email up and running? It seems like it should be easier than the 14 step tutorials I was finding on Google.Also, should I leave dovecot or try and remove it?

View 6 Replies View Related

CentOS 5 Server :: Setting Up Sub-domains?

Jul 20, 2010

I am still in Linux Diapers. I setup a CENTOS SELINUX box on an internal network. So the only way I know to access it's served pages is by navigating to 10.1.1.40 from a computer within the network. The issue is that I need to create sub-domains for this server but have no Idea how to go about doing that.

Is there a way of creating an alias for the dev server so I can type something like "washington" into the web browser of a computer on the internal network instead of 10.1.1.40? Can I use a fake FQDN that on this server and get served its web pages or do I need to register a FQDN?

Background: I am creating a series of websites using Drupal and am trying to implement the multisites functionality (all the sites are run from a single code base). To do this they suggest setting up each site on a sub-domain during development. We have not yet purchase the FQDN's for the sites so I have no FQDN to setup.

View 1 Replies View Related

General :: Setting Up Fedora DS(389 DS Server) On CentOS 5.4?

Jan 9, 2010

I have been confused with the overall new 389 DS Server Setup.All I did upto now is:yum install 389-ds
and it did all the installation correctly.

All I need is Setup 389 Server with SSL.I did went through http://directory.fedoraproject.org/wiki/Howto:SSL but no Idea how to proceed.I am confused with the following points:

1. Do I also need to run setup-ds-admin.pl and setup-ds-dsgw too?

I tried running setup-ds-admin.pl and it stucked at :

The server 'ldap://389-ds.sap.com:45474/o=NetscapeRoot' is not reachable. Error: unknown error.

2. When Should I run the setupssl2.sh script? After running the above setup-* scripts?What changes I need to make on the script?

View 8 Replies View Related

Server :: Setting Path Shortcuts In CentOS?

Sep 15, 2010

Is there a way to set a short cut so that you don't have to type out the full path to directories in CentOS? For example instead of typing out /var/log to get to log files, can you just type logs and have the OS know to cd to /var/log automatically?

View 7 Replies View Related

CentOS 5 Server :: Setting Up Ldap Ssl Certificates?

Jul 26, 2009

I am having problems creating ssl certificates for use with openLDAP. Does anyone know a good centos tutorial as I am having problems finding ones by searching through google and the forums.

To clarify further I have a small network im trying to setup to use ldap for auth due to the size I figured using kerberos for auth would be a bit overkill.....

I have the server up and running fine however at the moment all auth is done by using clear text (which is fine as the network has no connection to the internet at current) however in the future it will so I am trying to use ssl however I am having confusing as which certificates I point to where in the slapd.conf file

View 2 Replies View Related

CentOS 5 :: Setting Up Small VPN Server For 20 Members?

Aug 24, 2009

I need to setup a small VPN server for about 20 people. Will a VPS with 192mb ram be enough to handle this? The only services I need to run is those necessary for VPN.

View 2 Replies View Related

CentOS 5 Server :: Setting Up Bind For Web-hosting

May 4, 2010

setting up Bind for web-hosting as i am using Webmin to configure it?

View 4 Replies View Related

CentOS 5 :: Setting Up A Bridge For Use By KVM Server On New 5.5 Install?

Jun 3, 2010

I was searching for a doc on the exact steps to setup a bridge for use by my KVM setup. I needed my VMs to be bridge onto the eth0 network. Some docs I found on google seemed to be outdated.

[URL]

View 2 Replies View Related

CentOS 5 Server :: Setting Up Multiple Websites/IPs?

Sep 25, 2010

I've currently got a centos server setup in my home. It has 1 website running on it and I am using DynDNS.com's service to access the server. DynDNS works by redirecting a free url to the IP address of your server. I would like to add a second website under a different url. However, I'm not sure how to add a second IP address (which I would then use with DynDNS to create a new url).

View 3 Replies View Related

CentOS 5 Server :: Setting Up SMB And AFP Failover Between Two Servers

Feb 15, 2011

My question is about setting up SMB and AFP failover between two servers. The plan is to have two servers both running CentOS with one acting as a primary node and one as secondary failover node. I have never set anything like this up before. In the past I have always worked with SAN's primary XSAN/StorNext. Both of which handle failover pretty much automatically. Unfortunately there isn't the budget on this job to install a SAN. Also this is only for temporary use for a week in a production office.

My thoughts where to run the two servers and use rsync on a cron tab to keep the data synchronised between the two. In an ideal world clients would log on to the primary and if that fails, seamlessly moved over to the secondary. I'm guessing however this is not possible outside of a SAN environment. So keeping the two servers synced and the clients manually moving over to the secondary manually is, I'm guessing, my only real option.

View 1 Replies View Related

Server :: Setting Up A Netfinity 5100 With CentOS 5.5 I386

Nov 2, 2010

I have been given a "gift" of a Netfinity 5100 that currently has that other M$ operating system on it. I want to configure it as closely as possible to my web server located in Chicago that uses CentOS 5.5. and use it as a "test server".

This is daunting for me as I've only been involved with Linux for less than 6 months. I have Ubuntu 10.10 on my desktop PC.

The person who gave it to me indicated that I should plug it in and let the 2 arrays charge for 24 hours. I'm doing that. I also have had an electrician install a clean new 20 amp circuit for it. And I have downloaded and created a CentOS 5.5 i386 Live CD.

OK ... we've now exhausted my realm of knowledge. Can anyone give me a broad scope of what needs to be done? I will try to plug in the specifics of each step as I progress.

A assume I plug in a keyboard and screen to it. Do I use an ethernet connection between the server and my router to provide broadband ... what steps are necessary to configure that? Do I need to download and install Apache and MySQL .. if so, where?

View 2 Replies View Related

CentOS 5 Server :: Setting User Permissions In NFSD

May 19, 2009

I am currently trying to replace my Windows Server with a CentOS 5.3 box running nfsd for file serving. I have it all up and running however I cant see anyway of securing user access rights to the shares as all you need to access them is just clone the User ID of a user authorized to access the share of any Linux system which seems a bit insecure to me? I was wondering if there was any advice on securing access to server shares in CentOS.

View 2 Replies View Related

CentOS 5 Server :: Setting Up A Java App As A Deamon/service?

Dec 8, 2009

There is a particular java app called LanguageTool which we need to host on our centos server. Other applications are supposed to send an http request to this machine; this machine should pass this data (received over the http request) to the java application concerned, obtain the output from the app; and then send this response back to the requesting client...

We need to set this app as a service on startup. The centos machine might restarted from time to time; so we expect this service should startup automatically. What can I do to get this done?

View 1 Replies View Related

CentOS 5 Server :: Setting Up The Local Installation Mirror?

Jan 11, 2010

I've just set up the local mirror for my 96 CentOS 5 workstations. The mirroring script is taken from public-mirror howto and looks like this:

#!/bin/sh
rsync="/usr/bin/rsync -avHzL --delete --delay-updates" # replaced -q with -v for debuging purposes, removed --bwlimit, added -L to follow symlinks
mirror=centos.politechnika.lublin.pl::CentOS # tried several different same result

[Code]....

I tested mirror consistency by putting the mirror addres I'm syncing with, directly into repo file. Than yumex works fine. I tried several different mirrors with the same result.

View 3 Replies View Related

CentOS 5 Server :: Setting Up Mail Userdb And Passdb?

Jun 30, 2010

Quick advice type question regarding setting up mail servers. Need to write in params under default auth section in the dovecot config file. Background: I have a home network set up with junk rack servers operating various Linux distros. I am sitting behind a Smoothwall linked to dyndns.org.

For this topic, I have one Ubuntu server which is just acting as my ssh so I can play around with my entwork on the Droid. Then I recently got CentOS 5 running on a Dell 1550 and I decided to try to run a mail server.

Situation: Using this site, [URL].. I set up my dovecot.conf file with this:

auth default {
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660

[Code]...

View 3 Replies View Related

CentOS 5 Server :: Setting Up Relaxed Samba Config

May 29, 2011

I've got a situation where I would normally use NFS, but cannot. So in it's place I need to use a samba share (even though it's linux -> linux). I need it completely open and world writeable as if I had done an rw in an NFS export. I thought I had it as when logged in as a user I can edit delete etc. however the apache user seems to be struggling with creating files. Here's my smb.conf as it stands.

[global]
workgroup = WGRP
server string = Samba Server Version %v
security = user
passdb backend = tdbsam
unix extensions = no

[tmp]
comment = Temp Directory
path = /var/tmp
public = yes
guest ok = yes
writeable = yes
browseable = yes

[sites]
comment = Sites Directory
path = /var/www/sites
public = yes
guest ok = no
write list = siteusr
writeable = yes
create mask = 0777
browseable = no
security mask = 0777
directory security mask = 0777

Note that the drive is mapped as user siteusr. What I can do to open it up more?

View 5 Replies View Related

General :: Setting Up CentOS VMWare Server On Windows Vista Box?

Jun 2, 2011

I'm trying to learn Linux and have created a VMWare guest operating system using CentOS 4.8. I expect the next step is to install ssh in order to transfer files to the server but as of yet I haven't figured out how to assign it a host name or how to effect a transfer.

View 15 Replies View Related







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