[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [EXTERNAL] When to use Interactive (PTY) or Non-Interactive
[Thread Prev] | [Thread Next]
- Subject: RE: [EXTERNAL] When to use Interactive (PTY) or Non-Interactive
- From: "Kennedy, Marcus A." <Marcus.Kennedy@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 23 Jun 2020 19:10:01 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
> From: V Sidnal, Nagraju <nagraju.sidnal@xxxxxxxxxxx> > Sent: Tuesday, June 23, 2020 11:20 AM > To: libssh@xxxxxxxxxx > Subject: [EXTERNAL] When to use Interactive (PTY) or Non-Interactive > > Dear All, > > As LibSSH supports both, Interactive(PTY) and non-interactive approach to EXECUTE command on remote server/Machine. > I would like to know when to opt for Interactive or Non-interactive.? > On what basis, we need to decide which one to opt for? What are the pro and cons? > > Regards, > Nagraju Nagraju, The times that you would want interactive are when you want to parse the output of the commands that you execute, or when you want to monitor those commands to ensure that they are doing what you expect. If you are just looking to launch a command without regard to what happens next, use the non-interactive. Andy
When to use Interactive (PTY) or Non-Interactive | "V Sidnal, Nagraju" <nagraju.sidnal@xxxxxxxxxxx> |