Link to home
Start Free TrialLog in
Avatar of sudheer_tp
sudheer_tp

asked on

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

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
Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
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:)

ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sudheer_tp
sudheer_tp

ASKER

thanks a lot for all who responded.

Problem is solved