Solved

How to connect from one linux M/C to another linux M/C useing /net command

Posted on 2004-08-20
7
251 Views
Last Modified: 2010-04-20
Hi All,

I wanted to connect to linux server in my office from my linux machine.
ftp and telnet is not allow to user, they r given me the command

/net/servername/foldername

to connect to that server. But when I execute, it gives an error

" bash: /net/servername/foldername : no such file or directory."

what could be the problem and how to solve it.

Thanks in advance
Regards
Sudheer
0
Comment
Question by:sudheer_tp
7 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 11853379
Hi sudheer_tp,
> /net/servername/foldername
This is meaningless.

So ftp and telnet are not permitted?
What about ssh?
ssh is very secure and you can transfer files across it using the scp command.
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 11855972
Hmm - do they imply a shared samba folder?

Try:

smbclient -L servername

servername can be an ip address. This will give you a list of shares available that you can connect to and share. You will then need to connect to it, but this is usually not available to anyone other than root.

Try:

ssh servername and see if you get a login prompt. If you do, then you can use the command scp in order to transfer data between the systems.

Use:

man ssh
man scp
man smbclient

to find out more.

HTH:)

0
 
LVL 40

Accepted Solution

by:
jlevie earned 125 total points
ID: 11856787
Usage of /net/servername/folder presumes that the local machine has the am-utils package installed and that the amd service is enabled and running. That mechanism is an automount (via the /net amd map) of an NFS resource. Neat stuff really...
0
 
LVL 1

Assisted Solution

by:ramez_hanna
ramez_hanna earned 125 total points
ID: 11879740
the path given is probably a network share that will be mounted upon your login so just do a #cd /net/servername/folder that is if you are logging to the linux server
what is the login authority? samba? NIS? or just local

if you login locally then this could be a samba share or a NFS you will have to mount the share
if you are using fedora or redhat you can just do in nautilus smb://servername/folder/ and you'll be able to browse the samba share
or simply use the mount command for both NFS or samba shares
"#man mount" and you'll find what you need to do it it's easy
0
 

Author Comment

by:sudheer_tp
ID: 12079131
thanks a lot for all who responded.

Problem is solved
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now