(E-Mail Removed) wrote in message news:<(E-Mail Removed). com>...
> David <(E-Mail Removed)> wrote in message news:<Af8_a.88656$cF.27900@rwcrnsc53>...
> > (E-Mail Removed) wrote:
> > > Hi,
> > > I am writing a program that requires to connect to remote Linux
> > > machines and execute a program after authentication. This connection
> > > has to be initiated by the program. The program needs to copy a few
> > > files also.
> > > Is it possible to do this without running a seperate server program.
> > > or using some service that is already running on the Linux systems.
> > > The copying needs to be done securely sometimes. Although this is not
> > > a concern at this moment.
> > > Any pointers on the possiblilty i can explore would be helpful.
> > > Thanks
> > > -Rajat
> >
> > Here is a good link that should be of help.
> >
> > Secure Passwordless Logins with SSH
> > http://www.hackinglinuxexposed.com/a.../20021211.html
>
> Thanks i will explore the possibilities with ssh.
> But still i have one question, what is the equivalent of connecting to
> admin$ on a linux machine?
There isn't.
> Is samba required for accessing admin$.
Ask yourself - What IS admin$?
> In windows i could connect to admin$ without a server running,
I bet you can't. More likely you just aren't aware of what is running
on your closed-source windows box ;-)
> was it running some service in the background.
hehe.
What you need to do is ask yourself "what am I trying to achieve"? My
guess is that you can achieve everything you want by running as the
"root" user (like the "Administrator" user in Windows). UNIX is great
in that you can have multiple users logged in at the same time... to
one box... and in a normal environment there will be tens, maybe
hundreds of people logged in! This is /very/ strange to someone coming
from a Windows environment where remote access is so clumsy and
awkward. You'll love it
Take a look here as well, could be useful to you:
http://www.tldp.org