Server :: Password-less SSH Only Works On 1 Of 2 Machines?
Apr 16, 2010I have setup password-less SSH on 2 machines the same way, but it only works on one.
3 machines
2 remotes :-
A : 192.168.109.15
[code]....
I have setup password-less SSH on 2 machines the same way, but it only works on one.
3 machines
2 remotes :-
A : 192.168.109.15
[code]....
hooked my computer up to a kvm switch so thatI could use my pc and my xbox 360 on my computer monitor.AT first everything seemed to be working fine. But when I turn off the xbox I can't use my pc. I can switch back and forth with no problems, but only when both machines are powered on. I'm using 10.04 Lucid and a Trendnet TK-207k KVM switch
View 5 Replies View RelatedI have a laptop and a Desktop both systems only used by myself behind a router. Ubuntu Lucid on both and 64 bit systems. I have installed NFS with the desktop as server and Laptop as client. The NFS only works with the firewalls (UFW) disabled on both machines. My current setup on the desktop ufw is
[Code]...
I have a script which runs a few other scripts (in subfolders of the first script) in order to mount some unix/linux shares) Anyway, when I run the file from rc.local and try to pipe the output into a file the file is empty and the shares are not mounted. however when I run the file it mounts everything.... Also, the script doesn't work on my wireless clients...
View 1 Replies View RelatedI'm trying to write a script that will prompt the user for a username/password, then create that user/password in the right groups on all my machines. I know this is kind of a long way around to avoid a NIS server, but I like making my life more difficult.
This is what I have so far:
Code:
the script has 2 problems: The "if" functions return an error and do not compare the strings successfully. whatever password is entered does get applied properly and the user is unable to login
I installed a server called Oracle VM Manager, which is actually a web based application to manage Oracle VM server.After successfully installed everything, it suppose to be access by browser using But strange thing is, I can see web pages from the server itself with but any other machines to access it with hostname or ip address all failed.
View 2 Replies View RelatedI hope I haven't missed this in another forum but was tough to search for.While administering my new centos 5.2 x86 server through SSH I am successfully able to issue
View 11 Replies View RelatedI have a DNS server on my LAN at 192.168.140.25. Going by the example in the O'Reilly DNS and BIND book I bought, I set up the domain movie.edu and [URL]. To my great surprise and delight, I can access toystory.movie.edu in a browser from another PC on the LAN (as long as I add 192.168.140.25 to the DNS servers). Encouraged by this victory, I decided to try to set up another subdomain at [URL].
This kind of worked but not completely. Interestingly, I can get to both [URL] and [URL] on my server, but on my PC, I can only get to [URL] not [URL]. Here is my db.movie.edu:
Code:
$TTL 3h
movie.edu. IN SOA toystory.movie.edu. al.movie.edu. (
1 ; Serial
3h ; Refresh after 3 hours
[code]....
I've got a home server running Ubuntu Server 9.04 and several machines running Ubuntu Desktop (9.04 and 8.04) and Windows (XP, Vista and 7). Now what I want to do is to create a domain and directory server similar in function to Windows Server w/ AD and join my other machines to the domain, but am not sure where to start. I already have file shares with Samba but now I want to setup a domain.
View 3 Replies View RelatedI am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?
View 1 Replies View RelatedI only have one IP adress to access the server. But the server will host 3 web sites and I want them to be hosted in a vm. So, I want to setup 3 virtual machines to do it and use apache reverse proxy and vhosts to redirect the domain requested to the right vm. Now. I understand the concept, but I am not an expert to set that up....
I have an openSUSE 11.3 server. So, I have to set a virtual machine server, is that right? I have been told that I cannot do it with VMware server in oS 11.3. Can I use virtualbox for this? I only have to install virtual box? Is there a special version to install? Once the virtual machine server is install, is it trivial to create 3 vm? So, I want to know wich are the steps I have to take to set that up.
suddenly ,I get a project to shutdown all xp's by a Linux server(RHEL5) using a single command.by net command i did that.but in this case i have to specify all the ip addresses manually .Is there any way that Linux server obtain the ip addresses automatically on a network and then shut down all the pc's
View 2 Replies View RelatedI would like to setup grsync to auto backup me xp desktop and win7 laptop.I have setup samba and can access the directories on the ubuntu server.I can see the desktop and laptop on the network from the server.But when I try to find the machines i want to backup in source in grsync they are not there.What should the permissions be on the windows machines?
View 3 Replies View RelatedI am having a server in a corporate data centre. There are some virtual machines running on it.The main server is accessible from internet via SSH. There are some people who within the lan access the virtual machines whose IPs on LAN are
Quote:
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4
from internet only one host is allowed SSH. This machine has public IP and is also connected to LAN on the IP 192.168.1.50. Tunnel is not allowed on our network.So now I am came across a solution as explained on this link. I am not clear with on which machine .ssh/config file I add following
Code:
Host securehost.example.com ProxyCommand ssh user1@insidemachine.com nc %h %p Should above be done on gateway where public IP and ssh is allowed or client on internet who has to login. Do I need to create separate accounts on the gateway also so that the users who can SSH to gateway then are forwarded to inside machines? Or one account on gateway is sufficient for different people logging in via internet to my gateway and then forwarded to internal machine?
Then do I need to create an account user1 on the gateway also?
1) What is the correct syntax for ProxyCommand on gateway's .ssh/config should I use
Code:
ProxyCommand ssh user1@inside.machine nc %h %p
or I should use
Code:
ProxyCommand ssh user1@gateway.com in nc %h %p
2) Should I create new user accounts on gateway also which exist on internal machine?
I'm planing to get 4 dedicated, remote servers for my start up, the question I have is: how to do only one installation and then duplicate or clone this installation into all the other machines. I could install those 4 servers manually, but the problem is - we have a lot of things that our application needs, and later there will be more servers. So an automatic way to do that would be better. We are using Debian. Perhaps there's a way to create a "big package" that will contain all of the necessary software in it, then simply require from the hosting provider that all of our servers come with Debian installed, and then manually upload the "big package" and install it?
View 3 Replies View RelatedI cant get my linux server ( centos5 ) with virtualbox run 2 virtual machines in headless mode. Only one machine gets network connection. Can anyone tell me how to make 2 or more virtual machines work with 1 eth-port in headless mode using virtualbox ?
View 1 Replies View RelatedI want to give my users option of logging to the system. They should have posibillity for choosing option betweend logging to the system with their default password or one-time password OTPW. I installed OTPW in my Debian. Here is my /etc/pam.d/sshd file:
[Code]....
My bose ask me to convert a CentOS system password like "LMPQSMTE0nHlQ" to postfix MySQL MD5 Hased password, I find CentOS seems has 2 kinds of password form, one is shorter and the other is very long like"$1$C2MSk16n$WT5JWnzYH7XpCCjsiE2bd1", however I find postfix is exactly the later long one, so does any one know how to convert the short form to the later one
View 1 Replies View RelatedI used to use server 64, and it handled memory well with Jaunty and Karmic but with Lucid the memory usage is always high and can't run virtual machines.
[Code]...
I have developed a website. Now i would like to monitor the IP address of machines who are accessing the server. The simplest possible solution to this that comes first into my mind is to use jsp inbuilt tags.
Code:
<%
out.print( request.getRemoteAddr() );
out.print( request.getRemoteHost() );
%>
but it has given me some other IP address(May be a proxy server's ip address)
So i was left with one choice is to run netstat on host server . Here is what i have done.
Code:
netstat -an | grep 8080 (As tomcat runs on port 8080).
Should i modify the command or there is any other way around to monitor the IP address?
I am currently investigating channel bonding for rhel5.5.Is there any way I can create one bond from nics on two different linux machines.They will be a cluster without any clustering software like beowulf or LVS.There will be a cluster interconnect through which they can communicate.Should I tweak the bonding module??
View 3 Replies View Relatedi have managed to be starting applications remotely (on the X client). then, the Xserver can be a linuxOS, or a winXP application (Xwin32, Hummingbird)... so i can get the applications (xlogo, konqueror, or dolphin) from the X client showing on my X server (at my terminal that is). no problem. Problem is with startx. since my Xclient is a file server, i don't need for it to be running xdm... but i would like to be ssh'ing to the machine and startx when (rarely) needed.
what happens currently is that i ssh to the file server, i open up the Xserver locally (or the terminal), and i verify that xlogo will start on my X server instead of on the Xserver of the fileserver. then i try to 'startx' but i get nothing on my screen, while the window manager is loading in the Xserver of the file server itself... how can i change that??? i have verified that $DISPLAY variable is pointing to my Xserver (how else would xlogo work?)..
First off I am new to Linux and fairly new to working in Networking and Server config's. I have been using Windows for years and have been learning Windows Server 2003 as I have a Technet account, I can get any MS software. I would like to learn Linux and use this as my Server environment. My project looks like this: I have a Quad core, 8gb machine. I want to install a distro of Linux (server or desktop) and run Virtual Machines on it.
My perferred way would be to use Virtual Box but I could use VMware products if that was better. I would like to run WS2003, WS2008, Linux Distro and anything else that will run in a VM. I can figure out that part pretty easily. I want the Linux host machine to run all these VM's and access and use them on my MAC remotely. I have done some research on ESXi as well, but I don't think my Hardware is going to support that. My exact PC spec's are:
AMD x4 940
8gb DDR2
Gigabyte MA770-UD3
2 Velicoraptor Drives
GTX 260
I will be dual booting this machine on one of the Raptors for gaming as well.
in my network, users has total access to their PCs, so theres a problem to filter (URL, ports,etc.) their virtual machines installed (they can assign self any IP, e.g.)
Id thought about use the MAC prefix in VMware VMs (00:0c:29:*), but i can only found a way through DHCP, and this isn't a good solution (they can assign a static IP to workaround...)
It will be better using firewall (iptables), but I don't found the way to add rules based in MACs with wildcards.
I setup a private network from virtual machines and one of the machines is the DHCP server for the group. I want to specify a next-server for the DHCP server but I'm having trouble connecting to any of the machines that I lease IPs to. I'm just trying to do a simple ping/ssh to 10.0.0.252 (a machine with a lease) but it doesn't seem to respond. I'm assuming I need to be able to connect to my next-server but maybe I'm wrong.
View 1 Replies View RelatedI configured my dns server running on redhat5(test.com, ip-192.168.10.1), all is working perfect on the server its-self and on the client machine(xp), it cant resolve the name [url] but can resolve when i use [url]are ok, nslookup displays the following error:
The reverse is working fine from the redhat machine, NO firewall on the client xp machine xp as host name is added in /etc/hosts
We have Nagios running on a server, and are installing NRPE as a daemon on web servers we need to monitor. I'm two servers in and have hit a small snag. The two servers we're currently trying to monitor are, to the best of our knowledge, very similar (Centos 5.4, Apache, MySQL, PHP etc etc), and the installations of NRPE on them should be the same. One is being monitored just fine, however we can't check on the other one without including the -n switch (to disable SSL) in the check_nrpe call. If we don't, however, the error we get is, "CHECK_NRPE: Socket timeout after 10 seconds.". In /var/log/messages on the machine that fails we see:
May 24 17:23:49 ourserver xinetd[23583]: START: nrpe pid=27932 from=123.123.123.123
May 24 17:23:59 ourserver nrpe[27932]: Could not read request from client, bailing out...
May 24 17:23:59 ourserver xinetd[23583]: EXIT: nrpe status=0 pid=27932 duration=10(sec)
The only kind of related thing I can think of that's different between the two machines is that one (the one that works) has actually had an SSL certificate installed on it, for the site it hosts.
I am new to virtual machines in general, and currently playing with the XEN-based VM in CentOS 5.5. Question: if neither virt-manager nor virsh (using "virsh edit <guest name>" and changing the name in the XML file) are designed to actually change a guest's name...then what is the recommended procedure for doing this?
View 1 Replies View RelatedI have Dell Inspiron 1545. It works fine on wired but fails on wireless.
I am using wicd as an interface.
It always comes up with the following error: Connection Failed: Bad password.
I have checked the passwords in both wicd and the router.
They seem to be the same. Am I missing something ?
we are having new printers. At the moment we over 1000 machines on multiple sites but no print server they are manually added on the machine ( I know don't ask).
Anyway there is no way they would let use a windows server so the only option I have is to use linux however I little unsure if it is capable of doing the job I need it to do. Basically I want to add the printers on the linux server either using samba or ipp (I would assume samba would be best).
The reason i want to do this is when we have to do around the machines I just want to go around the machines and just the map the printer and it brings down the driver and config etc as we want them to duplex. The issue is I been trying to gain information on the internet and getting conflicting information apparently I can add the windows driver onto the server so when I map the printer it brings it down. However some guides state you still have through the whole process of adding the printer and then choosing the driver etc. Which kinda of makes it pointless to do the printer server since I would already have to do this anyway if we don't have one.
I just want to go be able to go around the machines and for example click star run and do something like \192.168.1.1printer01 and then it done kind of thing.