hi every body.
is there any exemple that explain how to connect to a shell command in lunix system like connect to ms doss in localhost.

but we need to connect with a user and pass.
so is there any exemple to do this??