SSH/SFTP Plugin - Target¶
SSH¶
Category-name : ssh.target
What ?
The ssh.target represents a ssh server used for the execution of commands. This is mainly used as SUT specification for batch testing.
Configuration : A simple .properties file dropped in the targets directory of your test project. To tag the file as an ssh configuration file, the first line must have the following shebang mark : #!ssh. All keys in this file begin with the prefix squashtest.ta.ssh.
Available parameters :
- squashtest.ta.ssh.hostname (mandatory) : Host to connect to.
- squashtest.ta.ssh.port : Port to connect to. This parameter is optional, if it is ommitted or empty the default SSH port will be used.
- squashtest.ta.ssh.username (mandatory) : Username to use for connection.
- squashtest.ta.ssh.password (mandatory) : Password to use for connection.
Example of valid configuration file :
#!ssh
squashtest.ta.ssh.hostname=integrationBox
squashtest.ta.ssh.username=tester
squashtest.ta.ssh.password=tester