diff --git a/docs/src/examples.jl b/docs/src/examples.jl index 99219ff..081c569 100644 --- a/docs/src/examples.jl +++ b/docs/src/examples.jl @@ -71,13 +71,10 @@ ssh.userauth_list(session) @assert ssh.userauth_password(session, "foo") == ssh.AuthStatus_Success # Now we're authenticated to the server and we can actually do something, like -# running a command: +# running a command (see [Command execution](@ref)): @assert read(`echo 'Hello world!'`, session, String) == "Hello world!\n" -# What we get back is a tuple of the return code and the output from the -# command. - # Now we can disconnect our client session: close(session)