mirror of
https://github.com/libssh2/libssh2.git
synced 2025-07-31 00:03:08 +03:00
provide SPDX identifiers
- All files have prominent copyright and SPDX identifier - If not embedded in the file, in the .reuse/dep5 file - All used licenses are in LICENSES/ (not shipped in tarballs) - A new REUSE CI job verify that all files are OK Assisted-by: Viktor Szakats Closes #1084
This commit is contained in:
@ -33,6 +33,8 @@
|
||||
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
||||
# OF SUCH DAMAGE.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
include(CopyRuntimeDependencies)
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
AUTOMAKE_OPTIONS = foreign nostdinc
|
||||
|
||||
EXTRA_DIST = CMakeLists.txt
|
||||
|
@ -1,4 +1,7 @@
|
||||
/* Copyright (C) The libssh2 project and its contributors. */
|
||||
/* Copyright (C) The libssh2 project and its contributors.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
#include <libssh2.h>
|
||||
|
@ -1,6 +1,8 @@
|
||||
/* Copyright (C) The libssh2 project and its contributors.
|
||||
*
|
||||
* Sample showing how to do a simple SCP transfer.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* and path to copy, but you can specify them on the command line like:
|
||||
*
|
||||
* $ ./scp_nonblock 192.168.0.1 user password /tmp/secrets
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -1,6 +1,8 @@
|
||||
/* Copyright (C) The libssh2 project and its contributors.
|
||||
*
|
||||
* Sample showing how to do an SCP upload.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -1,6 +1,8 @@
|
||||
/* Copyright (C) The libssh2 project and its contributors.
|
||||
*
|
||||
* Sample showing how to do an SCP non-blocking upload transfer.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* and path to copy, but you can specify them on the command line like:
|
||||
*
|
||||
* $ ./sftp 192.168.0.1 user password /tmp/secrets -p|-i|-k
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* upload the file again to a given destination file.
|
||||
*
|
||||
* Using the SFTP server running on 127.0.0.1
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* and path to copy, but you can specify them on the command line like:
|
||||
*
|
||||
* $ ./sftp_append 192.168.0.1 user password localfile /tmp/remotefile
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* and path to copy, but you can specify them on the command line like:
|
||||
*
|
||||
* $ ./sftp_mkdir 192.168.0.1 user password /tmp/sftp_mkdir
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* and path to copy, but you can specify them on the command line like:
|
||||
*
|
||||
* $ ./sftp_mkdir_nonblock 192.168.0.1 user password /tmp/sftp_write_nonblock.c
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* and path to copy, but you can specify them on the command line like:
|
||||
*
|
||||
* $ ./sftp_nonblock 192.168.0.1 user password /tmp/secrets
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* and path to copy, but you can specify them on the command line like:
|
||||
*
|
||||
* $ ./sftp_write 192.168.0.1 user password sftp_write.c /tmp/secrets
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* and path to copy, but you can specify them on the command line like:
|
||||
*
|
||||
* $ ./sftp_write_nonblock 192.168.0.1 user password thisfile /tmp/storehere
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* and path to copy, but you can specify them on the command line like:
|
||||
*
|
||||
* $ ./sftp_write_sliding 192.168.0.1 user password thisfile /tmp/storehere
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* path, but you can specify them on the command line like:
|
||||
*
|
||||
* $ ./sftpdir 192.168.0.1 user password /tmp/secretdir
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -6,6 +6,8 @@
|
||||
* path, but you can specify them on the command line like:
|
||||
*
|
||||
* $ ./sftpdir_nonblock 192.168.0.1 user password /tmp/secretdir
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -11,6 +11,8 @@
|
||||
* -i authenticate using keyboard-interactive
|
||||
* -k authenticate using public key (password argument decrypts keyfile)
|
||||
* command executes on the remote machine
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -5,6 +5,8 @@
|
||||
* The sample code has default values for host name, user name:
|
||||
*
|
||||
* $ ./ssh2_agent host user
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -10,6 +10,7 @@
|
||||
*
|
||||
* $ ./ssh2_agent_forwarding 127.0.0.1 user "uptime"
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -5,6 +5,7 @@
|
||||
*
|
||||
* $ ./ssh2_echo 127.0.0.1 user password
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -7,6 +7,7 @@
|
||||
*
|
||||
* $ ./ssh2_exec 127.0.0.1 user password "uptime"
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
@ -1,4 +1,7 @@
|
||||
/* Copyright (C) The libssh2 project and its contributors. */
|
||||
/* Copyright (C) The libssh2 project and its contributors.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
#include <libssh2.h>
|
||||
|
@ -1,4 +1,7 @@
|
||||
/* Copyright (C) The libssh2 project and its contributors. */
|
||||
/* Copyright (C) The libssh2 project and its contributors.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
#include <libssh2.h>
|
||||
|
@ -3,6 +3,8 @@
|
||||
* Sample showing how to makes SSH2 with X11 Forwarding works.
|
||||
*
|
||||
* $ ./x11 host user password [DEBUG]
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include "libssh2_setup.h"
|
||||
|
Reference in New Issue
Block a user