CentOS 5 Server :: Remote Installation Of Rssh On 5.2?
Mar 17, 2009
I'm an OS X user that's just acquired a CentOS 5.2 server. The server contains a basic installation of CentOS 5.2 with OpenSSH already installed, which I use to connect to the server using OS X terminal. I have no physical access to the machine and if I somehow cripple OpenSSH I will need to pay a technician to fix the problem for me. So I'd like to get the instructions straight before I go in and mess around with the system.
I want to install a package that will allow me to add additional users so that they can upload files but not mess around with the system configuration. From searching on google rssh seems to be a viable path. So I'd like to go with that unless there's a better option.
I came across these tutorials: SFTP Setup for CentOS 4.5-5.x and How to: Restrict Users to SFTP and Block SSH Shell Access with rssh. But I haven't followed the instructions in either yet. I'm unsure if I'll be able to execute all of the steps remotely without compromising my root account's SSH access.
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.
I have two Centos 5 servers one running Asterisk with PHP installed and another sever running as a MySql Database server, at the moment when I try run simple script to see if I can connect to the remote server I get the following error.Quote:Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
I'm currently in the last steps of migrating a CentOS mailserver to the x64 version.However, under the old 32 bit version, I was using XRDP to access the Centos box from my Windows boxes.However I can't seem to find the XRDP package in the standard repos so this is prompting me to look at possible alternatives (XRDP was incompatible with my windows 7 box anyway soI had to RDP to another server of ours running 2003 to RDP into the mailserver which was far from ideal).Basically, I'd like to be able to seamlessly access the Centos box with a standard RDP client.
I know VNC Server/Clients would be an option but RDP gives me the freedom of any windows box being able to access the server on the same adress/port without installing software on any windows box I encounter.Are there any viable alternatives to XRDP ?There's no "add-on" to VNC server that could enable it to accept RDP connections ?
I have just installed CentOS 5. I have set mysql database to access from remote machines. But now the problem is it is not connecting from the local machine now.
Im using CentOs on a remote server. I've recently installed phpmyadmin but cant access from [URL] I checked the files and found only 3 folders in /var/lib/phpmyadmin -config / save / upload - all of them empty. Whenever I try intstall phpmyadmin again it just says its already installed and up to day.
How to setup my server to use it remotely from my Home from a WindowsXP PC.I want to access my CentOS server. Please help me installing GUI or Remote desktop on my server.I have installed FREENX client on my WIndows XP PC now what next to do. what configuration do i need to do.If you have any link to tutorial please let me know.
I have a lot of problems with the server and I want to reinstall the Centos in order to have a clean system. The problem is that I have access only via ssh console (with putty aplication)
Newbie on the block with Centos 5.3 on a test server and and Ubuntu on a test workstation Note the wiki on VNC for a windows workstation but presume I could do this more easily from "Jaunty" (Ubuntu v 9.04)
I have a remote CentOS server (5.4 Final) to which I need to add remote access to a GUI front end. I have SSH access to this box (no physical access, I rent it and it is housed in a DC) and I think I have managed to install Gnome correctly:
I have a cent 5.5 server that I only have remote access to. I was wondering if there was a way to view potential updates before I issue the yum update command. I know that there is a notification in X that you can click on and will show you the updates before you actually perform the operation.
1) ssh to a remote centos server using X11 forwarding 2) open the virt-manager remote application (the virtualization management app) 3) Open the remote console
Just to be clear, my local X11 crashes. I get back to the log in screen.
I get in my Xorg log:
Backtrace:
Fatal server error:
-Is this enough for a bug report? -How I can make X dump a core file for better debugging? -Do -debug RPM packages still exist, and if so, should I install one for the X server and will this help with debugging, and if so, how do I install it.
I have problem with connection to mssql 2000 from centos. i have installed php, freetds, unixOBDC on server Centos. My mssql server on another computer (windows xp). Now, when i tried to connect mssql with php : >> mssql_connect("192.168.179.100","sa","sa")
Centos return to me "Unable to connect to server: 192.168.179.100 in /var/www/html/work/test.php on line 15 "
note: mssql is running on windows, and user and password is same "sa".
I need to install in my centos 5.3 a remote sesion login like a Terminal Server on Windows. I tried to use a VNC but I have a problem and it is that the user must be loged before on local machine. I need to can wake on lan my server and log in with that program.
The word on all lips are "virtualization" so I decided to smell this flavor. I have a machine running CentOS 5.3 64bit and I have unlimited access to this machine, but I don't want to reach it physically. Is it possible to install and maintain a virtual medium using ssh or other remote connection? When I installed the OS I have selected the packets regarding the virtualization, but now from where can I start? Is somewhere a guide for doing this?
I have built a Centos 5.3 server for a friend of mine that is being used as a NAS server. The server has 4 1TB drives in a RAID 5 configuration and a dedicated non raid system drive for the OS. My friend isnt very Linux literate so I need this bow to be relatively simple. I have worked most of it out but have a question with regards to remote reboot.
I need to be able to shut this device down through the power switch without human intervention (at the moment when the power switch is pushed the server asks to confirm shutdown) the server wont have a Monitor connected so this isn't practical. Is it possible to use the power switch to do an clean, immediate shutdown?
The other option is shutdown through a web page is this something that has been done before? I know he can do it through terminal by issuing a shutdown now command but as I said this guy wants something simple. I don't really want to explain everytime he needs to shut the Server down how to do it if he can just do it via a website or even with the power button.
I am working on a project where I need to connect to a remote MS SQL Server database with PHP from a CentOS 5.5 server. I was able to get it installed and working on my Mac OS X 10.6 laptop with unixODBC and FreeTDS. However, I am unable to get it configured on my CentOS server. unixODBC and FreeTDS were installed, but when I try to connect, I get the following error message:
From what I could find by scouring the internets,it appears that I have 32 bit unixODBC (or FreeTDS, I'm not sure) installed (libtdsodbc.so.0 is symlinked to libtdsodbc.so.0.0.0) and it needs to be 64 bit. However, when I try to install the 64 bit version with
yum install freetds.x86_64
I get a message that it is already installed.Is there something else I need to do to get around this error? I'm a developer and not a server, so I'm not sure where else to go.
We are running our website on a VPS Centos 5.6 box, and I am trying to set it up as an NFS client to a remote NAS server box. The script (remote_mount) I'm using (copied inline below) works fine when I run it on another Linux server box running Slackware, but when I run the same script on the Centos box I get the following error message. code...
when client goes to bind to NFS share on remote server - they are getting access denied when using the mount command; [SERVER] - CentOS 5.3 /etc/exports /mnt/data 192.168.5.199(rw) - implying the client I want to have access
I have installed CentOS 5.5 along with the Samba package. I have it configured (i believe), but when I try to access a share, it is not accepting my UN/PW. I have copied the smb.conf file from a working computer over to this one, but it is still not accepting my login. Anyone know of any other files I should check?
I have moved a working smb.conf file to this new box, and both computers have the same UN/PW's
Some time yesterday, I lost the ability to ssh my remote server, or even visit any webpages it hosts.
I've explored hosts.deny, /var/log/secure and even turned iptables off to see if it would fix anything. To no avail. Here's what my ssh login attempt looks like:
I've setup vsftpd correctly and it's running fine with local users (in the same LAN). However, when remote users wanna login to the server, it takes more than 1 minute to get in. Users do can login from remote. It just took too long. (It prompted for the username and password very fast.) Since the server is behind a router, I did configure the port forwarding for TCP 20-21. The centos version is 5.3. The vsftpd is v2.0.5.
I want to install Webmin on a dedicated remote server. I keep reading different blogs/tutorials etc about installing webmin on Ubunto server 10.10 but it seems too easy to be true. There is never any mention of requirements etc. I did read that even perl isn't needed pre install now and will install with webmin.But do i need to install lamp etc first or does it pull these in when Webmin its installed?
There is a way to have a CentOS installation very very minimal?Not like Damn Small Linux, but similar (as footprint)My need is create some Virtual Machine that only have BIND and SSH on it.
I have a low powered headless box (DLINK DNS323) running linux that I keep in a back room at home to handle large file downloads. It does not have X installed. Everything is handled at the command prompt through an SSH link. In the most common case, I log in from a remote location (perhaps a coffee shop), start the download, then disconnect and go about my business.
If I try to download from a free account of rapidshare, filesonic, or some another file service there is a manual handshake process (decode a captcha, wait for 60 seconds, etc) that requires a graphical client to complete.
I would like to somehow navigate through the handshake using my laptop (running Firefox) (perhaps through a proxy on the DNS323), but direct the download directly to the DNS323 (i.e., not routed through the laptop) so that I can disconnect and expect that the download will complete without further involvement from me or my laptop.
Is there anyway to direct a download to a remote path? Any other suggestions for solving the problem?
I tried to install php from source file on centos server and i got the error as # ./configure --with-apxs2=/usr/local/packages/apache/bin/apxs --with-mysql --prefix=/usr/local/packages/apache/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm
checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information.